public int delete(string id, string pass, string malop, string magv) { if (CheckService.checkID(id, pass) == 1) { if (CheckService.checkRole(id, 2) == 1 || CheckService.checkRole(id, 0) == 1) { CT_LopHocService ctlhsv = new CT_LopHocService(); return(ctlhsv.delete(malop, magv)); } } return(0); }