コード例 #1
0
 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;
 }
コード例 #2
0
        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();
        }
コード例 #3
0
 public InOutBoundController(IInOutBoundService inOutBoundService, IArrivalNoticeService arrivalNoticeService)
 {
     this._inOutBoundService    = inOutBoundService;
     this._arrivalNoticeService = arrivalNoticeService;
 }