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