Exemplo n.º 1
0
 public CustomerController(ICustomerApplication CustomerApplication,
                           DbContextOptions <OLSoftwareDataContext> options,
                           IOptions <AppSettings> appSettings)
 {
     this.options         = options;
     _CustomerApplication = CustomerApplication;
     _appSettings         = appSettings.Value;
 }
Exemplo n.º 2
0
 public CustomerController(ICustomerApplication customerApplication)
 {
     CustomerApplication = customerApplication;
 }
 public CustomerController(ICustomerApplication customerApplication,
                           IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor)
 {
     this.customerApplication = customerApplication;
 }
Exemplo n.º 4
0
 public CustomerController(ICustomerApplication customerApplication, IDomainEvent domainEvent) : base(domainEvent)
 {
     _customerApplication = customerApplication;
 }
 public CustomersController(ICustomerApplication application)
 {
     this.application = application;
 }