public IncomingCommandHandler(ISaleRepository saleRepository, IOutletRepository outletRepository, ISaleProductRepository saleProductRepository, IInventoryRepository inventoryRepository, IReturnableProductRepository returnableProductRepository) { this.saleRepository = saleRepository; this.outletRepository = outletRepository; this.saleProductRepository = saleProductRepository; this.inventoryRepository = inventoryRepository; this.returnableProductRepository = returnableProductRepository; }
public SaleProductsService(ISaleProductRepository saleProductRepository, IUnitOfWork unitOfWork) { _saleProductRepository = saleProductRepository; _unitOfWork = unitOfWork; }