public ProductService(IProductRepository productRepository, IDietPlanRepository dietPlanRepository, IProductInPlanService productInPlanService, IHttpClientFactory httpClientFactory)
 {
     _productRepository    = productRepository;
     _dietPlanRepository   = dietPlanRepository;
     _productInPlanService = productInPlanService;
     _httpClientFactory    = httpClientFactory;
 }
Exemple #2
0
 public ProductInPlanController(IProductInPlanService productInPlanService, IDietPlanService dietPlanService,
                                IFavoriteService favoriteService, IProductService productService)
 {
     _productInPlanService = productInPlanService;
     _dietPlanService      = dietPlanService;
     _favoriteService      = favoriteService;
     _productService       = productService;
 }