public ProductsController(SaleDBContext context, IMapper mapper, IHostingEnvironment environment, IHubContext <EchoHub> hubContext) { _context = context; _mapper = mapper; _environment = environment; _hubContext = hubContext; }
public UsersController(UserManager <User> userManager, IMapper mapper, SaleDBContext context, IOptions <JwtIssuerOptions> jwtOptions, RoleManager <IdentityRole <Guid> > roleManager) { _context = context; _mapper = mapper; _userManager = userManager; _jwtOptions = jwtOptions.Value; _roleManager = roleManager; }
public ExternalLoginController(IOptions <GoogleAuthSettings> ggAuthSettings, IOptions <FacebookAuthSettings> fbAuthSettingsAccessor , UserManager <User> userManager, SaleDBContext appDbContext, IOptions <JwtIssuerOptions> jwtOptions) { _userManager = userManager; _appDbContext = appDbContext; _jwtOptions = jwtOptions.Value; _ggAuthSettings = ggAuthSettings.Value; _fbAuthSettings = fbAuthSettingsAccessor.Value; }
public SuppliersController(SaleDBContext context) { _context = context; }
public EvaluationQuestionsController(SaleDBContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public UserInfoesController(SaleDBContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public OrdersImportGoodsController(SaleDBContext context, IMapper mapper) { _context = context; _mapper = mapper; }
// 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, SaleDBContext context) { loggerFactory.AddConsole(Configuration.GetSection("Logging")); loggerFactory.AddDebug(); if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); app.UseBrowserLink(); } else { app.UseExceptionHandler("/Home/Error"); } app.UseCors("CorsPolicy"); app.UseStaticFiles(); app.UseMvc(routes => { routes.MapRoute( name: "default", template: "{controller=Sale}/{action=Index}/{id?}"); }); }
public Sale(SaleDBContext context) { this.context = context; }
public CartDetailsController(SaleDBContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public SlideShowsController(SaleDBContext context, IHostingEnvironment environment) { _context = context; _environment = environment; }
public AddressesController(SaleDBContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public LocationTreeController(SaleDBContext context) { _context = context; }
public StatisticController(SaleDBContext context) { _context = context; }
public EventsController(SaleDBContext context) { _context = context; }
public LoginController(UserManager <User> userManager, IOptions <JwtIssuerOptions> jwtOptions, SaleDBContext context) { _userManager = userManager; _jwtOptions = jwtOptions.Value; _context = context; }
public LocalStorage(SaleDBContext saleDB) { _context = saleDB; table = _context.Set <T>(); }
public ProductCategoriesController(SaleDBContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public OrderDetailsController(SaleDBContext context) { _context = context; }