public ActivityRecordParser(
     IConfiguration configuration,
     IServiceBusHelpers serviceBusHelpers)
 {
     _configuration     = configuration;
     _serviceBusHelpers = serviceBusHelpers;
 }
Example #2
0
 public GetAllSleepRecords(
     ISleepDbService sleepDbService,
     IServiceBusHelpers serviceBusHelpers,
     IConfiguration configuration)
 {
     _sleepDbService    = sleepDbService ?? throw new ArgumentNullException(nameof(sleepDbService));
     _serviceBusHelpers = serviceBusHelpers ?? throw new ArgumentNullException(nameof(serviceBusHelpers));
     _configuration     = configuration ?? throw new ArgumentNullException(nameof(configuration));
 }
Example #3
0
 public GetSleepByDate(
     ISleepDbService sleepDbService,
     IDateValidator dateValidator,
     IServiceBusHelpers serviceBusHelpers,
     IConfiguration configuration)
 {
     _sleepDbService    = sleepDbService ?? throw new ArgumentNullException(nameof(sleepDbService));
     _serviceBusHelpers = serviceBusHelpers ?? throw new ArgumentNullException(nameof(serviceBusHelpers));
     _configuration     = configuration ?? throw new ArgumentNullException(nameof(configuration));
     _dateValidator     = dateValidator ?? throw new ArgumentNullException(nameof(dateValidator));
 }
Example #4
0
 public GetActivitySummaryByDate(
     IConfiguration configuration,
     IFitbitApiService fitbitApiService,
     IMapper mapper,
     IServiceBusHelpers serviceBusHelpers)
 {
     _configuration     = configuration;
     _fitbitApiService  = fitbitApiService;
     _mapper            = mapper;
     _serviceBusHelpers = serviceBusHelpers;
 }
 public GetDailyFoodLog(
     IConfiguration configuration,
     IFitbitApiService fitbitApiService,
     IMapper mapper,
     IServiceBusHelpers serviceBusHelpers)
 {
     _configuration     = configuration;
     _fitbitApiService  = fitbitApiService;
     _mapper            = mapper;
     _serviceBusHelpers = serviceBusHelpers;
 }
 public ValidateIncomingActivityFile(
     IConfiguration configuration,
     IAzureBlobHelpers azureBlobHelpers,
     IActivityRecordParser activityRecordParser,
     IServiceBusHelpers serviceBusHelpers,
     ITableHelpers tableHelpers)
 {
     _configuration        = configuration;
     _azureBlobHelpers     = azureBlobHelpers;
     _activityRecordParser = activityRecordParser;
     _serviceBusHelpers    = serviceBusHelpers;
     _tableHelpers         = tableHelpers;
 }
 public RetrieveManualFoodLog(
     IConfiguration configuration,
     IFitbitApiService fitbitApiService,
     IMapper mapper,
     IServiceBusHelpers serviceBusHelpers,
     IDateValidator dateValidator)
 {
     _configuration     = configuration;
     _fitbitApiService  = fitbitApiService;
     _mapper            = mapper;
     _serviceBusHelpers = serviceBusHelpers;
     _dateValidator     = dateValidator;
 }