public ProductService(IProductRepository productRepository, IDietPlanRepository dietPlanRepository, IProductInPlanService productInPlanService, IHttpClientFactory httpClientFactory)
 {
     _productRepository    = productRepository;
     _dietPlanRepository   = dietPlanRepository;
     _productInPlanService = productInPlanService;
     _httpClientFactory    = httpClientFactory;
 }
Example #2
0
 public DietPlanService(IDietPlanRepository dietPlanRepository, IHttpClientFactory httpClientFactory)
 {
     _dietPlanRepository = dietPlanRepository;
     _httpClientFactory  = httpClientFactory;
 }