public InOutBoundTests() { IUnitOfWork uow = new NHUnitOfWork(); this._inOutBoundRepository = new InOutBoundRepository(uow); this._arrivalReceiptRepository = new ArrivalReceiptRepository(uow); this._arrivalReceiptDetailRepository = new ArrivalReceiptDetailRepository(uow); this._inOutReasonRepository = new InOutReasonRepository(uow); this._spotInventoryRepository = new SpotInventoryRepository(uow); }
public InOutBoundTest() { IUnitOfWork uow = new NHUnitOfWork(); this._outBoundRsponstroy = new OutBoundRepository(uow); this._inBoundRsponstroy = new InBoundRepository(uow); this._inOutBoundRsponstroy = new InOutBoundRepository(uow); this._productRepository = new ProductRepository(uow); this._warehouseRepository = new WarehouseRepository(uow); this._warehouseShelfRepository = new WarehouseShelfRepository(uow); this._inOutBoundService = new InOutBoundService(_inOutBoundRsponstroy, _outBoundRsponstroy, _inBoundRsponstroy, _productRepository, _warehouseRepository, _warehouseShelfRepository, uow); AutoMapperBootStrapper.ConfigureAutoMapper(); }
public InOutBoundService( IInOutBoundRepository inOutBoundRepository, IOutBoundRepository outBoundRepository, IInBoundRepository inBoundRepository, IProductRepository productRepository, IWarehouseRepository warehouseRepository, IWarehouseShelfRepository warehouseShelfRepository, IUnitOfWork uow ) { this._inOutBoundRepository = inOutBoundRepository; this._outBoundRepository = outBoundRepository; this._inBoundRepository = inBoundRepository; this._productRepository = productRepository; this._warehouseRepository = warehouseRepository; this._warehouseShelfRepository = warehouseShelfRepository; this._uow = uow; }
public InOutBoundService( IInOutBoundRepository inOutBoundRepository, IOutBoundRepository outBoundRepository, IInBoundRepository inBoundRepository, IProductRepository productRepository, IWarehouseRepository warehouseRepository, IWarehouseShelfRepository warehouseShelfRepository, IInOutReasonService inOutReasonService, ISpotInventoryService spotInventoryService, IUsersService usersService, IUnitOfWork uow ) { this._inOutBoundRepository = inOutBoundRepository; this._outBoundRepository = outBoundRepository; this._inBoundRepository = inBoundRepository; this._productRepository = productRepository; this._warehouseRepository = warehouseRepository; this._warehouseShelfRepository = warehouseShelfRepository; this._inOutReasonService = inOutReasonService; this._spotInventoryService = spotInventoryService; this._usersService = usersService; this._uow = uow; }