public StatusRepository(CustomerServiceContext dbContext) { _dbContext = dbContext; }
public CustomerDetailsDAL(CustomerServiceContext customerServiceContext, ILogger <CustomerDetailsDAL> logger) { _customerServiceContext = customerServiceContext; _logger = logger; }
public CurrencyRepository(CustomerServiceContext dbContext) { _dbContext = dbContext; }
public EFUnitOfWork(CustomerServiceContext dbContext) { _dbContext = dbContext; }
public CustomerTypeDAL(CustomerServiceContext customerServiceContext) { _customerServiceContext = customerServiceContext; }
public TransactionRepository(CustomerServiceContext dbContext) { _dbContext = dbContext; }
public CustomerServiceAccessLayer(CustomerServiceContext context) { this._context = context; }
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, CustomerServiceContext context) { loggerFactory.AddConsole(Configuration.GetSection("Logging")); loggerFactory.AddDebug(); app.UseApplicationInsightsRequestTelemetry(); if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); app.UseDatabaseErrorPage(); app.UseBrowserLink(); } else { app.UseExceptionHandler("/Home/Error"); } app.UseApplicationInsightsExceptionTelemetry(); app.UseStaticFiles(); app.UseIdentity(); // Add external authentication middleware below. To configure them please see http://go.microsoft.com/fwlink/?LinkID=532715 app.UseMvc(routes => { routes.MapRoute( name: "default", template: "{controller=Home}/{action=Index}/{id?}"); }); DbInitializer.Initialize(context); }
public UserDAL(CustomerServiceContext customerServiceContext) { _customerServiceContext = customerServiceContext; }
public CustomerRepository(CustomerServiceContext context) { this.context = context; }
public FAQController(CustomerServiceContext context) { this._context = context; }
public CustomersController(CustomerServiceContext context) { _context = context; }