Example #1
0
 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);
 }
Example #3
0
 public LoginPresenter(ILoginView param)
 {
     view = param;
     repo = new FelhasznaloRepositories();
     db   = new OkosContext();
 }
Example #4
0
 public EszkozokPresenter(IEszkozokView param)
 {
     view = param;
     db   = new OkosContext();
 }