Пример #1
0
 public AccountController(
     ICompanyCommandService companyCommand,
     ICompanyQueryService companyQuery,
     UserManager <Core.Model.User> userManager,
     SignInManager <Core.Model.User> signInManager,
     IConfiguration configuration,
     ILogger <AccountController> logger)
 {
     _companyCommand    = companyCommand;
     _companyQuery      = companyQuery;
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.configuration = configuration;
     this.logger        = logger;
 }
Пример #2
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;
 }
Пример #3
0
 public CompanyController(ICompanyCommandService command, ICompanyQueryService query)
 {
     _command = command;
     _query   = query;
 }