public bool slettAdmin(int slettId) { var AdminDAL = new AdminDAL(); return AdminDAL.slettAdmin(slettId); }
public bool leggTilAdmin(Admin innAdmin) { var AdminDAL = new AdminDAL(); return AdminDAL.leggTilAdmin(innAdmin); }
public List<Admin> HentAlleAdmins() { var AdminDAL = new AdminDAL(); List<Admin> alleAdmin = AdminDAL.HentAdmins(); return alleAdmin; }
public Admin hentEnAdmin(int id) { var AdminDAL = new AdminDAL(); return AdminDAL.hentEnAdmin(id); }
public bool endreAdmin(int id, Admin admin) { var AdminDAL = new AdminDAL(); return AdminDAL.endreAdmin(id, admin); }