Beispiel #1
0
 public HealthPlanetLogic(HttpClient httpClient,
                          IOptions <HealthPlanetConfiguration> healthPlanetConfiguration,
                          CosmosDbLogic cosmosDbLogic)
 {
     _httpClient = httpClient;
     _healthPlanetConfiguration = healthPlanetConfiguration.Value;
     _cosmosDbLogic             = cosmosDbLogic;
 }
Beispiel #2
0
 public PostHealthDataLogic(HttpClient httpClient,
                            IOptions <WebHookConfiguration> webHookConfiguration,
                            CosmosDbLogic cosmosDbLogic)
 {
     _httpClient           = httpClient;
     _webHookConfiguration = webHookConfiguration.Value;
     _cosmosDbLogic        = cosmosDbLogic;
 }
Beispiel #3
0
 public GoogleFitLogic(
     IOptions <GoogleConfiguration> googleConfiguration,
     CosmosDbLogic cosmosDbLogic,
     HttpClient httpClient)
 {
     _googleConfiguration = googleConfiguration.Value;
     _cosmosDbLogic       = cosmosDbLogic;
     _httpClient          = httpClient;
 }