Ejemplo n.º 1
0
 public SalesRecordService(SaleWebMVCContext context)
 {
     _context = context;
 }
 public DepartmentsController(SaleWebMVCContext context)
 {
     _context = context;
 }
        private readonly SaleWebMVCContext _context; //injeção de dependencia

        public DepartmentService(SaleWebMVCContext context)
        {
            _context = context;
        }
Ejemplo n.º 4
0
 public SallerService(SaleWebMVCContext context)
 {
     _context = context;
 }