Exemplo n.º 1
0
 public PizzasController(IPizzasService pizzasService, ILogger <PizzasController> logger)
 {
     _pizzasService = pizzasService;
     _logger        = logger;
 }
 public PizzasController(ApplicationDbContext context, IPizzasService pizzasService)
 {
     _context       = context;
     _pizzasService = pizzasService;
 }