public SaleService(
     IClientCardRepository clientCardRepository,
     IMachineRepository machineRepository,
     IProductRepository productRepository,
     ITransactionRepository transactionRepository)
 {
     _clientCardRepository  = clientCardRepository ?? throw new ArgumentNullException(nameof(clientCardRepository));
     _machineRepository     = machineRepository ?? throw new ArgumentNullException(nameof(machineRepository));
     _productRepository     = productRepository ?? throw new ArgumentNullException(nameof(productRepository));
     _transactionRepository = transactionRepository ?? throw new ArgumentNullException(nameof(transactionRepository));
 }
 public SaleActionHandler(ISaleService saleService, IClientCardRepository clientCardRepository)
 {
     _saleService          = saleService ?? throw new ArgumentNullException(nameof(saleService));
     _clientCardRepository = clientCardRepository ?? throw new ArgumentNullException(nameof(clientCardRepository));
 }
 public ClientAuthenticationService(IUnitOfWork uow, IClientCardRepository clientCardRepository)
 {
     _uow = uow;
     _clientCardRepository = clientCardRepository;
 }