public SzobakListaPresenter(ISzobakListView param) { view = param; db = new OkosContext(); }
public FelhasznalokListaPresenter(IFelhasznalokView param) { view = param; db = new OkosContext(); var felhasznalok = db.users.Where(x => x.lakasId == CurrentUser.lakasId); }
public LoginPresenter(ILoginView param) { view = param; repo = new FelhasznaloRepositories(); db = new OkosContext(); }
public EszkozokPresenter(IEszkozokView param) { view = param; db = new OkosContext(); }