public StudentRepository(StuaContext context) { this.context = context; studenten = context.Studenten; stages = context.Stages; favorietestages = context.StudentStage; }
public BegeleiderRepository(StuaContext context) { this.context = context; begeleiders = context.Begeleiders; stages = context.Stages; studenten = context.Studenten; }
public BedrijfRepository(StuaContext context) { this.context = context; bedrijven = context.Bedrijven; stages = context.Stages; bedrijfspersonen = context.Bedrijfspersonen; }
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 StudentController() { StuaContext db = new StuaContext(); studentRepository = new StudentRepository(db); gegevensRepository = new GegevenRepository(db); }
public BedrijfController() { StuaContext db = new StuaContext(); bedrijfRepository = new BedrijfRepository(db); gegevensRepository = new GegevenRepository(db); }
public GegevenRepository(StuaContext context) { this.context = context; gegevens = context.Gegevens; }
public BegeleiderController() { StuaContext db = new StuaContext(); begeleiderRepository = new BegeleiderRepository(db); gegevensRepository = new GegevenRepository(db); }