Esempio n. 1
0
        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();
        }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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;
 }