public AccountController( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IOptions <IdentityCookieOptions> identityCookieOptions, IEmailSender emailSender, ISmsSender smsSender, ILoggerFactory loggerFactory, TFEContext context, RoleManager <IdentityRole> roleManager) { _userManager = userManager; _signInManager = signInManager; _externalCookieScheme = identityCookieOptions.Value.ExternalCookieAuthenticationScheme; _emailSender = emailSender; _smsSender = smsSender; _logger = loggerFactory.CreateLogger <AccountController>(); _context = context; _roleManager = roleManager; }
public CategoriesController(TFEContext context) { _context = context; }
public HistoriquesController(TFEContext context) { _context = context; }
public RepresentantsController(TFEContext context) { _context = context; }
public HorrairesController(TFEContext context) { _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, TFEContext context, ApplicationDbContext contextIdentity, UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager) { app.UseStatusCodePagesWithReExecute("/StatusCode/{0}"); //app.UseStatusCodePages(); app.UseSession(); loggerFactory.AddConsole(Configuration.GetSection("Logging")); loggerFactory.AddDebug(); if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); app.UseDatabaseErrorPage(); app.UseBrowserLink(); } else { app.UseExceptionHandler("/Home/Error"); } app.UseStaticFiles(); app.UseSession(); app.UseIdentity(); //context.Database.Migrate(); // Add external authentication middleware below. To configure them please see https://go.microsoft.com/fwlink/?LinkID=532715 app.UseMvc(routes => { routes.MapRoute( name: "default", template: "{controller=Horraires}/{action=Index}/{id?}"); }); DbInitializer.Initialize(context); contextIdentity.Database.Migrate(); DbInitializer.Initialize2(contextIdentity, userManager, roleManager); }
public RechercheViewComponent(UserManager <ApplicationUser> userManager, TFEContext context) { _context = context; _userManager = userManager; }
public EvenementsController(TFEContext context) { _context = context; }
public ClientsController(TFEContext context, UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager) { _context = context; _userManager = userManager; _roleManager = roleManager; }
public ClientsController(TFEContext context) { _context = context; }
public ProduitsController(TFEContext context) { _context = context; }
public CommandesController(UserManager <ApplicationUser> userManager, TFEContext context) { _context = context; _userManager = userManager; }
public AttributsController(TFEContext context) { _context = context; }
public TauxTVAsController(TFEContext context) { _context = context; }
public MotClefsController(TFEContext context) { _context = context; }
public PaniersController(UserManager <ApplicationUser> userManager, TFEContext context) { _context = context; _userManager = userManager; }
public FournisseursController(TFEContext context) { _context = context; }
public AdressesController(TFEContext context) { _context = context; }
public FacturesController(TFEContext context) { _context = context; }