Beispiel #1
0
 public PaymentTermController(IPermissionsManager permissionsManager,
                              IPaymentTermQueryService paymentTermQueryService,
                              IPaymentTermCommandService PaymentTermCommandServic,
                              IInvoiceQueryService InvoiceQueryService,
                              IContactsQueryService contactsQueryService,
                              ICashbookSettings cashbookSettings,
                              ICashbookQueryService cashbookQueryService,
                              ICompanyQueryService companyQueryService)
 {
     _permissionsManager        = permissionsManager;
     _paymentTermQueryService   = paymentTermQueryService;
     _paymentTermCommandService = PaymentTermCommandServic;
     _invoiceQueryService       = InvoiceQueryService;
     _contactsQueryService      = contactsQueryService;
     _cashbookSettings          = cashbookSettings;
     _cashbookQueryService      = cashbookQueryService;
     _companyQueryService       = companyQueryService;
 }
 public InvoiceController(IInvoiceService invoice, IInvoiceQueryService invoiceQueryService)
 {
     _invoice             = invoice ?? throw new ArgumentNullException(nameof(invoice));
     _invoiceQueryService = invoiceQueryService ?? throw new ArgumentNullException(nameof(invoiceQueryService));
 }