public PremiumPaymentService(IProcessPaymentRepository processPayment, IMapper mapper)
 {
     _processPayment = processPayment ??
                       throw new ArgumentNullException(nameof(processPayment));
     _mapper = mapper ??
               throw new ArgumentNullException(nameof(mapper));
 }
Exemplo n.º 2
0
 public CheapPaymentGateway(IProcessPaymentRepository processPayment, IMapper mapper)
 {
     _processPayment = processPayment ??
                       throw new ArgumentNullException(nameof(processPayment));
     _mapper = mapper ??
               throw new ArgumentNullException(nameof(mapper));
 }
Exemplo n.º 3
0
 public ProcessPaymentController(
     IProcessPaymentRepository _ProcessPayment
     , IUserRepository _user
     , IContactRepository contract
     )
 {
     ProcessPaymentRepository = _ProcessPayment;
     userRepository           = _user;
     contractRepository       = contract;
 }
Exemplo n.º 4
0
 public AccountReportController(
     ITransactionLiabilitiesRepository _Transaction
     , IUserRepository _user
     , IProcessPaymentRepository _ProcessPayment
     )
 {
     transactionRepository    = _Transaction;
     userRepository           = _user;
     processPaymentRepository = _ProcessPayment;
 }
Exemplo n.º 5
0
 public ReceiptController(
     IReceiptRepository _Receipt
     , IUserRepository _user
     , ITransactionLiabilitiesRepository _Transaction
     , IProcessPaymentRepository _ProcessPayment
     , ICustomerRepository _customer
     , ITemplatePrintRepository _templatePrint
     , IReceiptDetailRepository _ReceiptDetail
     )
 {
     ReceiptRepository        = _Receipt;
     userRepository           = _user;
     transactionRepository    = _Transaction;
     processPaymentRepository = _ProcessPayment;
     customerRepository       = _customer;
     templatePrintRepository  = _templatePrint;
     ReceiptDetailRepository  = _ReceiptDetail;
 }
Exemplo n.º 6
0
 public ContractController(
     IContractRepository _Contract
     , IUserRepository _user
     , ICustomerRepository customer
     , IInfoPartyARepository infoParty
     , IContractLeaseRepository contractLease
     , IContractSellRepository contractSell
     , IContactRepository contact
     , IProcessPaymentRepository processPayment
     , IDocumentFieldRepository documentField
     , IDocumentAttributeRepository documentAttribute
     )
 {
     ContractRepository          = _Contract;
     userRepository              = _user;
     customerRepository          = customer;
     infoPartyARepository        = infoParty;
     contractLeaseRepository     = contractLease;
     contractSellRepository      = contractSell;
     contactRepository           = contact;
     processPaymentRepository    = processPayment;
     DocumentAttributeRepository = documentAttribute;
     DocumentFieldRepository     = documentField;
 }
 public TransactionLiabilitiesController(
     ITransactionLiabilitiesRepository _Transaction
     , IUserRepository _user
     , IProcessPaymentRepository _ProcessPayment
     , IReceiptRepository _Receipt
     , IPaymentRepository _Payment
     , IProductInvoiceRepository _ProductInvoice
     , ICustomerRepository _Customer
     , IReceiptDetailRepository _ReceiptDetail
     , IPurchaseOrderRepository purchase
     , ISupplierRepository supplier
     )
 {
     transactionLiabilitiesRepository = _Transaction;
     userRepository           = _user;
     processPaymentRepository = _ProcessPayment;
     receiptRepository        = _Receipt;
     paymentRepository        = _Payment;
     productInvoiceRepository = _ProductInvoice;
     customerRepository       = _Customer;
     receiptDetailRepository  = _ReceiptDetail;
     purchaseOrderRepository  = purchase;
     supplierRepository       = supplier;
 }