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