public UnitOfWork(SaleManagementContext context) { this._context = context; this._produceService = new ProduceService(context); this._produceGroupService = new ProduceGroupService(context); this._staffService = new StaffService(context); this._staffGroupService = new StaffGroupService(context); this._customerService = new CustomerService(context); this._unitService = new UnitService(context); this._supplierService = new SupplierService(context); this._stockService = new StockService(context); this._receiptNoteService = new ReceiptNoteService(context); this._deliveryNoteService = new DeliveryNoteService(context); }
public ProduceService(SaleManagementContext context) : base(context) { }
public Service(SaleManagementContext context) { this._context = context; this._dbSet = context.Set <T>(); }
public StaffGroupService(SaleManagementContext context) : base(context) { }
public DeliveryNoteService(SaleManagementContext context) : base(context) { }
public StockService(SaleManagementContext context) : base(context) { }
public ReceiptNoteService(SaleManagementContext context) : base(context) { }
public SupplierService(SaleManagementContext context) : base(context) { }
public CustomerService(SaleManagementContext context) : base(context) { }
public UnitService(SaleManagementContext context) : base(context) { }