Exemple #1
0
 public AuthController(HealfiContext context, ProdutoresService produtoresService, ConsumidoresService consumidoresService, IHttpContextAccessor httpContextAccessor)
 {
     _context             = context;
     _produtoresService   = produtoresService;
     _consumidoresService = consumidoresService;
     _httpContextAccessor = httpContextAccessor;
 }
 public ProdutorController(ProdutoresService service, CategoriasService categoriaService, ProdutosService produtoService)
 {
     _service          = service;
     _categoriaService = categoriaService;
     _produtoService   = produtoService;
 }