예제 #1
0
 public PosSyncFacade(IDBContext dbContext, ILogger log)
 {
     _db                    = dbContext;
     _productService        = new ProductService(_db);
     _storeInventoryService = new StoreInventoryService(_db);
     _log                   = log;
 }
예제 #2
0
 public TransferOrderFacade(IDBContext dbContext)
 {
     _db                    = dbContext;
     _service               = new TransferOrderService(this._db);
     _sequenceService       = new BillSequenceService(this._db);
     _inventoryService      = new StoreInventoryService(this._db);
     _processHistoryService = new ProcessHistoryService(this._db);
 }
예제 #3
0
 public StocktakingPlanFacade(IDBContext dbContext)
 {
     _db                 = dbContext;
     _service            = new StocktakingPlanService(_db);
     _billService        = new BillSequenceService(_db);
     _inventoryService   = new StoreInventoryService(_db);
     _stocktakingService = new StocktakingService(_db);
 }
예제 #4
0
 public StorePurchaseOrderFacade(IDBContext dbContext)
 {
     _db      = dbContext;
     _service = new StorePurchaseOrderService(this._db);
     _processHistoryService = new ProcessHistoryService(this._db);
     _sequenceService       = new BillSequenceService(this._db);
     _storeInventoryService = new StoreInventoryService(this._db);
     _storeBatchService     = new StoreInventoryBatchService(this._db);
 }
예제 #5
0
 public AdjustStorePriceFacade(IDBContext dbContext)
 {
     _db      = dbContext;
     _service = new AdjustStorePriceService(this._db);
     _processHistoryService = new ProcessHistoryService(this._db);
     _sequenceService       = new BillSequenceService(this._db);
     _productService        = new ProductService(this._db);
     _storeInventoryService = new StoreInventoryService(this._db);
 }