public PizzaIngredientController(ILogger <PizzaIngredientController> logger, IMapper mapper, IPizzaIngredientService pizzaIngredientService, IPizzaService pizzaService, IIngredientService ingredientService)
 {
     this._logger = logger;
     this._mapper = mapper;
     this._pizzaIngredientService = pizzaIngredientService;
     this._pizzaService           = pizzaService;
     this._ingredientService      = ingredientService;
 }
Exemplo n.º 2
0
 public PizzaController(IPizzaService pizzaService, ICategoryService categoryService, IIngredientService ingredientService, IPizzaIngredientService pizzaIngredientService, IMapper mapper, IWebHostEnvironment hostingEnvironment, ILogger <PizzaController> logger)
 {
     this._pizzaService           = pizzaService;
     this._categoryService        = categoryService;
     this._ingredientService      = ingredientService;
     this._pizzaIngredientService = pizzaIngredientService;
     this._mapper             = mapper;
     this._hostingEnvironment = hostingEnvironment;
     this._logger             = logger;
 }
Exemplo n.º 3
0
 public PizzaService(PizzeriaContext context, IPizzaMapper pizzaMapper, IPizzaIngredientService pizzaIngredientService) : base(context)
 {
     _context                 = context;
     _pizzaMapper             = pizzaMapper;
     _pizzaIngredientsService = pizzaIngredientService;
 }