public InOutBoundController( IInOutBoundService inOutBoundService, IProductService productService, IWarehouseService warehouseService, IWarehouseShelfService warehouseShelfService, IArrivalNoticeService arrivalNoticeService ) { this._inOutBoundService = inOutBoundService; this._productService = productService; this._warehouseService = warehouseService; this._warehouseShelfService = warehouseShelfService; this._arrivalNoticeService = arrivalNoticeService; }
public ArrivalReceiptTest() { IUnitOfWork uow = new NHUnitOfWork(); this._arrivalReceiptRepository = new ArrivalReceiptRepository(uow); this._arrivalReceiptDetailRepository = new ArrivalReceiptDetailRepository(uow); this._arrivalReceiptService = new ArrivalReceiptService(this._arrivalReceiptRepository, this._arrivalReceiptDetailRepository, uow); this._workflowActivityService = new WorkflowActivityService(null, uow); this._arrivalNoticeRepository = new ArrivalNoticeRepository(uow); this._arrivalNoticeDetailRepository = new ArrivalNoticeDetailRepository(uow); this._arrivalNoticeService = new ArrivalNoticeService(this._arrivalNoticeRepository, this._arrivalNoticeDetailRepository, this._arrivalReceiptService, this._workflowActivityService, uow); AutoMapperBootStrapper.ConfigureAutoMapper(); }
public InOutBoundController(IInOutBoundService inOutBoundService, IArrivalNoticeService arrivalNoticeService) { this._inOutBoundService = inOutBoundService; this._arrivalNoticeService = arrivalNoticeService; }