Beispiel #1
0
        public static Admin GetAdminByLogin(string emailid, string empid)
        {
            Admin theAdmin = new Admin();

            theAdmin = AdminDBManger.GetAdminByIdEmail(emailid, empid);
            return(theAdmin);
        }
Beispiel #2
0
 public static void DeleteAdmin(int diId)
 {
     AdminDBManger.DeleteAdmin(diId);
 }
Beispiel #3
0
 public static void InsertAdmin(string email, string aname, string empid)
 {
     AdminDBManger.InsertAdmin(email, aname, empid);
 }
Beispiel #4
0
        public static List <Admin> GetAllAdmin()
        {
            List <Admin> clist = AdminDBManger.GetAllAdmin();

            return(clist);
        }