Пример #1
0
 public RecipeService(ApplicationDbContext context,
                      IProductService productService,
                      IPhaseService phaseService,
                      IRecipeTypeService recipeTypeService)
 {
     _context           = context;
     _productService    = productService;
     _phaseService      = phaseService;
     _recipeTypeService = recipeTypeService;
 }
Пример #2
0
 public RecipeTypesController(IRecipeTypeService recipeTypeService)
 {
     _recipeTypeService = recipeTypeService;
 }