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; }
public SallerService(SaleWebMVCContext context) { _context = context; }