}
Date startDate = getStartDate(organization);
Date endDate = getEndDate();
StorageConfiguration storageConfiguration = organization.getOrgStorageConfig().getStorageConfigurations().get(0);
StorageType storageType = storageConfiguration.getStorageType();
if(storageType.isRemote()) {
StorageService storageService = storageServiceFactory.getStorageService(storageType);
return ((RemoteStorageService) storageService).getMegabyteBandwidthUsed(organization.getOrgStorageConfig(), startDate, endDate);
}
return 0.0;
}