public WinkelService() { if (bInitializedDao) { return; } var dataSource = dataSet.MSSQL; if (dataSource == dataSet.HARDCODED) { productDao = new HCProduct(); gebruikerDao = new HCGebruiker(); } else if (dataSource == dataSet.MSSQL) { productDao = new SQLProduct(); gebruikerDao = new SQLGebruiker(); } else { throw new NotImplementedException(); } bInitializedDao = true; }
public GebruikerRepository(IGebruiker i) { _interface = i; }
public SessieController(ISessie repo, IGebruiker gebruikerRepository) { _sessieRepository = repo; _gebruikerRepository = gebruikerRepository; }
public BeheerderController(IGebruiker gebruikerRepository, UserManager <IdentityUser> userManager) { _gebruikerRepository = gebruikerRepository; _userManager = userManager; }
public GebruikerRepository(IGebruiker context) { this.context = context; }
public CommentaarController(ICommentaar rep, IGebruiker gebruikerRepo, ILesmateriaal lesmatRepo) { _repo = rep; _gebruikerRepository = gebruikerRepo; _lesmateriaalRepository = lesmatRepo; }
public LesController(ILes repo, IGebruiker gebruikerRepository) { _lesRepository = repo; _gebruikerRepository = gebruikerRepository; }
public GebruikerController(IGebruiker gebruikerRepository, ILes lesRepository, ApplicationDbContext context) { _gebruikerRepository = gebruikerRepository; _lesRepository = lesRepository; _gebruikerSessie = context.GebruikerSessie; }
public ActiviteitController(IActiviteit repo, IGebruiker gebruikerRepository) { _activiteitRepository = repo; _gebruikerRepository = gebruikerRepository; }