public StatusRepository(CustomerServiceContext dbContext)
 {
     _dbContext = dbContext;
 }
 public CustomerDetailsDAL(CustomerServiceContext customerServiceContext, ILogger <CustomerDetailsDAL> logger)
 {
     _customerServiceContext = customerServiceContext;
     _logger = logger;
 }
 public CurrencyRepository(CustomerServiceContext dbContext)
 {
     _dbContext = dbContext;
 }
Exemple #4
0
 public EFUnitOfWork(CustomerServiceContext dbContext)
 {
     _dbContext = dbContext;
 }
Exemple #5
0
 public CustomerTypeDAL(CustomerServiceContext customerServiceContext)
 {
     _customerServiceContext = customerServiceContext;
 }
 public TransactionRepository(CustomerServiceContext dbContext)
 {
     _dbContext = dbContext;
 }
Exemple #7
0
 public CustomerServiceAccessLayer(CustomerServiceContext context)
 {
     this._context = context;
 }
Exemple #8
0
        // 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;
 }
Exemple #10
0
 public CustomerRepository(CustomerServiceContext context)
 {
     this.context = context;
 }
Exemple #11
0
 public FAQController(CustomerServiceContext context)
 {
     this._context = context;
 }
Exemple #12
0
 public CustomersController(CustomerServiceContext context)
 {
     _context = context;
 }