private IList <TemporaryExposureKey> GetNextKeysBatch(ZipFileOrigin origin, DateTime startDate, int numberOfRecordsToSkip)
 {
     if (origin == ZipFileOrigin.All)
     {
         return(_temporaryExposureKeyRepository.GetAllTemporaryExposureKeysForPeriodNextBatch(startDate, numberOfRecordsToSkip, _maxKeysPerFile));
     }
     else
     {
         return(_temporaryExposureKeyRepository.GetOriginCountryKeysForPeriodNextBatch(startDate, numberOfRecordsToSkip, _maxKeysPerFile));
     }
 }
 private IList <TemporaryExposureKey> GetNextKeysBatch(string originPostfix, DateTime startDate, int numberOfRecordsToSkip)
 {
     if (string.Equals(originPostfix, ZipFileOrigin.All.ToString(), StringComparison.CurrentCultureIgnoreCase))
     {
         return(_temporaryExposureKeyRepository.GetAllTemporaryExposureKeysForPeriodNextBatch(startDate, numberOfRecordsToSkip, _maxKeysPerFile));
     }
     else
     {
         return(_temporaryExposureKeyRepository.GetOriginCountryKeysForPeriodNextBatch(startDate, numberOfRecordsToSkip, _maxKeysPerFile));
     }
 }