public InOutBoundController(IInOutBoundService inOutBoundService, IProductService productService, IWarehouseService warehouseService, IWarehouseShelfService warehouseShelfService) { this._inOutBoundService = inOutBoundService; this._productService = productService; this._warehouseService = warehouseService; this._warehouseShelfService = warehouseShelfService; }
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 InOutBoundController(IInOutBoundService inOutBoundService, IArrivalNoticeService arrivalNoticeService) { this._inOutBoundService = inOutBoundService; this._arrivalNoticeService = arrivalNoticeService; }