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;
 }
Exemple #2
0
 public SaleProductsService(ISaleProductRepository saleProductRepository, IUnitOfWork unitOfWork)
 {
     _saleProductRepository = saleProductRepository;
     _unitOfWork            = unitOfWork;
 }