public ProductUnitService(IProductUnitRepository productUnitRepository, IProductConversionUnitRepository productConversionUnitRepository, IProductRepository productRepository, IResourceService <SharedResource> sharedResourceService, IResourceService <GhmWarehouseResource> resourceService) { _productUnitRepository = productUnitRepository; _productConversionUnitRepository = productConversionUnitRepository; _productRepository = productRepository; _sharedResourceService = sharedResourceService; _resourceService = resourceService; }
public DeletedReceiptNoteDetailCommandHandler(IGoodsReceiptNoteDetailRepository goodsReceiptNoteDetailRepository, IWarehouseConfigRepository warehouseConfigRepository, IInventoryReportService inventoryReportService, IGoodsDeliveryNoteDetailsRepository goodsDeliveryNoteDetailsRepository, IProductUnitRepository productUnitRepository) { _goodsReceiptNoteDetailRepository = goodsReceiptNoteDetailRepository; _warehouseConfigRepository = warehouseConfigRepository; _inventoryReportService = inventoryReportService; _goodsDeliveryNoteDetailsRepository = goodsDeliveryNoteDetailsRepository; _productUnitRepository = productUnitRepository; }
public CreateProductUnitCommandHandler(IProductUnitRepository productUnitRepository, IProductUnitQuery productUnitService, IMemoryCache cache) { _productUnitRepository = productUnitRepository; this.cache = cache; // 1 day caching cacheOptions = new MemoryCacheEntryOptions() .SetAbsoluteExpiration(relative: TimeSpan.FromDays(1)); }
public UnitService(IUnitRepository unitRepository, IUnitTranslationRepository unitTranslationRepository, IProductUnitRepository productUnitRepository, IResourceService <SharedResource> sharedResourceService, IResourceService <GhmWarehouseResource> resourceService) { _unitRepository = unitRepository; _unitTranslationRepository = unitTranslationRepository; _productUnitRepository = productUnitRepository; _sharedResourceService = sharedResourceService; _resourceService = resourceService; }
public InventoryDailyReportService(IInventoryDailyReportRepository inventoryDailyReportRepository, IResourceService <SharedResource> sharedResourceService, IResourceService <GhmWarehouseResource> resourceService, IWarehouseConfigRepository warehouseConfigRepository, IGoodsReceiptNoteDetailRepository goodsReceiptNoteDetailRepository, IGoodsDeliveryNoteDetailsRepository goodsDeliveryNoteDetailRepository, IWarehouseManagerConfigRepository warehouseManagerConfigRepository, IProductUnitRepository productUnitRepository, IProductRepository productRepository) { _inventoryDailyReportRepository = inventoryDailyReportRepository; _sharedResourceService = sharedResourceService; _resourceService = resourceService; _warehouseConfigRepository = warehouseConfigRepository; _goodsReceiptNoteDetailRepository = goodsReceiptNoteDetailRepository; _goodsDeliveryNoteDetailRepository = goodsDeliveryNoteDetailRepository; _warehouseManagerConfigRepository = warehouseManagerConfigRepository; _productUnitRepository = productUnitRepository; _productRepository = productRepository; }
public GoodsReceiptNoteDetailService(IGoodsReceiptNoteRepository goodsReceiptNoteRepository, IGoodsReceiptNoteDetailRepository goodsReceiptNoteDetailRepository, IResourceService <SharedResource> sharedResourceService, IResourceService <GhmWarehouseResource> resourceService, ILotRepository lotRepository, IProductUnitRepository productUnitRepository, IWarehouseManagerConfigRepository warehouseManagerConfigRepository, IMediator mediator, IProductRepository productRepository, IInventoryReportRepository inventoryReportRepository, IProductConversionUnitRepository productConversionUnitRepository, IInventoryReportService inventoryReportService, IGoodsDeliveryNoteDetailsRepository goodsDeliveryNoteDetailsRepository) { _goodsReceiptNoteRepository = goodsReceiptNoteRepository; _goodsReceiptNoteDetailRepository = goodsReceiptNoteDetailRepository; _sharedResourceService = sharedResourceService; _resourceService = resourceService; _lotRepository = lotRepository; _productUnitRepository = productUnitRepository; _warehouseManagerConfigRepository = warehouseManagerConfigRepository; _mediator = mediator; _productRepository = productRepository; _inventoryReportRepository = inventoryReportRepository; _productConversionUnitRepository = productConversionUnitRepository; _inventoryReportService = inventoryReportService; _goodsDeliveryNoteDetailsRepository = goodsDeliveryNoteDetailsRepository; }
//private readonly IGoodsReceiptNoteService _goodsReceiptNoteService; //private readonly IGoodsDeliveryNoteService _goodsDeliveryNoteService; public InventoryService(IInventoryRepository inventoryRepository, IInventoryDetailRepository inventoryDetailRepository, IInventoryMemberRepository inventoryMemberRepository, IWarehouseRepository warehouseRepository, IProductRepository productRepository, IWarehouseManagerConfigRepository warehouseManagerConfigRepository, IResourceService <SharedResource> sharedResourceService, IResourceService <GhmWarehouseResource> warehouseResourceService, IInventoryReportRepository inventoryReportRepository, IProductUnitRepository productUnitRepository, IServiceProvider serviceProvider, IHostingEnvironment hostingEnvironment) { _inventoryRepository = inventoryRepository; _inventoryDetailRepository = inventoryDetailRepository; _inventoryMemberRepository = inventoryMemberRepository; _warehouseRepository = warehouseRepository; _productRepository = productRepository; _sharedResourceService = sharedResourceService; _warehouseResourceService = warehouseResourceService; _inventoryReportRepository = inventoryReportRepository; _productUnitRepository = productUnitRepository; _serviceProvider = serviceProvider; _hostingEnvironment = hostingEnvironment; _warehouseManagerConfigRepository = warehouseManagerConfigRepository; }
public ProductUnitService(IProductUnitRepository productUnitRepository, IUnitOfWork unitOfWork) { this._ProductUnitRepository = productUnitRepository; this._UnitOfWork = unitOfWork; }
public ProductUnitAppService(IProductUnitRepository ProductUnitRepository) { _ProductUnitRepository = ProductUnitRepository; }
public ProductUnitService(IProductUnitRepository productUnitRepository) : base(productUnitRepository) { _productUnitRepository = productUnitRepository; }