public AccountController() : this(new UserManager<ApplicationUser>(new UserStore<ApplicationUser>(new ApplicationDbContext())) ) { StuaContext context = new StuaContext(); studentRepository = new StudentRepository(context); begeleiderRepository = new BegeleiderRepository(context); bedrijfRepository = new BedrijfRepository(context); }
public BegeleiderController() { StuaContext db = new StuaContext(); begeleiderRepository = new BegeleiderRepository(db); gegevensRepository = new GegevenRepository(db); }