public VendedoresController(ProjetoWebContext context, DepartamentService dps)
 {
     _context   = context;
     _dpservice = dps;
 }
Beispiel #2
0
 public DepartamentsController(ProjetoWebContext context)
 {
     _context = context;
 }
Beispiel #3
0
 public PedidosController(ProjetoWebContext context)
 {
     _context = context;
 }
Beispiel #4
0
 // Criado o construtor para que a injeção de dependência ocorra
 public VendedorService(ProjetoWebContext c)
 {
     _context = c;
 }
Beispiel #5
0
 // Criado o construtor para que a injeção de dependência ocorra
 public DepartamentService(ProjetoWebContext c)
 {
     _context = c;
 }