public CreateModel( IdentiteitsContext context, IAuthorizationService authorizationService, UserManager <VerlofsiteUser> userManager) : base(context, authorizationService, userManager) { }
public IndexModel( IdentiteitsContext _context, IAuthorizationService authorizationService, UserManager <VerlofsiteUser> userManager) : base(_context, authorizationService, userManager) { _context = Context; }
public void PopulateVerlofpoulesDropDownList(IdentiteitsContext _context, object selectedVerlofpoule = null) { var verlofpoulesQuery = from d in _context.Verlofpoules orderby d.Naam // Sort by name. select d; VerlofpouleNameSL = new SelectList(verlofpoulesQuery, "VerlofpouleID", "Naam", selectedVerlofpoule); }
public PersoneelsbeheerModel( IdentiteitsContext context, IAuthorizationService authorizationService, ILogger <PersoneelsbeheerModel> logger, RoleManager <IdentityRole> roleManager, UserManager <VerlofsiteUser> userManager) : base(context, authorizationService, userManager) { _logger = logger; this.roleManager = roleManager; this.userManager = userManager; }