Beispiel #1
0
 public CreateModel(
     IdentiteitsContext context,
     IAuthorizationService authorizationService,
     UserManager <VerlofsiteUser> userManager)
     : base(context, authorizationService, userManager)
 {
 }
Beispiel #2
0
 public IndexModel(
     IdentiteitsContext _context,
     IAuthorizationService authorizationService,
     UserManager <VerlofsiteUser> userManager)
     : base(_context, authorizationService, userManager)
 {
     _context = Context;
 }
Beispiel #3
0
        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);
        }
Beispiel #4
0
 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;
 }