コード例 #1
0
 public StatusRepository(CustomerServiceContext dbContext)
 {
     _dbContext = dbContext;
 }
コード例 #2
0
 public CustomerDetailsDAL(CustomerServiceContext customerServiceContext, ILogger <CustomerDetailsDAL> logger)
 {
     _customerServiceContext = customerServiceContext;
     _logger = logger;
 }
コード例 #3
0
 public CurrencyRepository(CustomerServiceContext dbContext)
 {
     _dbContext = dbContext;
 }
コード例 #4
0
 public EFUnitOfWork(CustomerServiceContext dbContext)
 {
     _dbContext = dbContext;
 }
コード例 #5
0
 public CustomerTypeDAL(CustomerServiceContext customerServiceContext)
 {
     _customerServiceContext = customerServiceContext;
 }
コード例 #6
0
 public TransactionRepository(CustomerServiceContext dbContext)
 {
     _dbContext = dbContext;
 }
コード例 #7
0
 public CustomerServiceAccessLayer(CustomerServiceContext context)
 {
     this._context = context;
 }
コード例 #8
0
ファイル: Startup.cs プロジェクト: alandenison/cs
        // 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);
        }
コード例 #9
0
ファイル: UserDAL.cs プロジェクト: espookumar/CustomerService
 public UserDAL(CustomerServiceContext customerServiceContext)
 {
     _customerServiceContext = customerServiceContext;
 }
コード例 #10
0
 public CustomerRepository(CustomerServiceContext context)
 {
     this.context = context;
 }
コード例 #11
0
 public FAQController(CustomerServiceContext context)
 {
     this._context = context;
 }
コード例 #12
0
ファイル: CustomersController.cs プロジェクト: alandenison/cs
 public CustomersController(CustomerServiceContext context)
 {
     _context = context;
 }