Пример #1
0
 public bool slettAdmin(int slettId)
 {
     var AdminDAL = new AdminDAL();
     return AdminDAL.slettAdmin(slettId);
 }
Пример #2
0
 public bool leggTilAdmin(Admin innAdmin)
 {
     var AdminDAL = new AdminDAL();
     return AdminDAL.leggTilAdmin(innAdmin);
 }
Пример #3
0
 public List<Admin> HentAlleAdmins()
 {
     var AdminDAL = new AdminDAL();
     List<Admin> alleAdmin = AdminDAL.HentAdmins();
     return alleAdmin;
 }
Пример #4
0
 public Admin hentEnAdmin(int id)
 {
     var AdminDAL = new AdminDAL();
     return AdminDAL.hentEnAdmin(id);
 }
Пример #5
0
 public bool endreAdmin(int id, Admin admin)
 {
     var AdminDAL = new AdminDAL();
     return AdminDAL.endreAdmin(id, admin);
 }