public SpotInventoryService(ISpotInventoryRepository spotInventoryRepository, IProductService productService, IWarehouseService warehouseService, IUnitOfWork uow) { this._spotInventoryRepository = spotInventoryRepository; this._productService = productService; this._warehouseService = warehouseService; this._uow = uow; }
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); }