public static OCClass OCClass_Edit(OCClass occlass, List <OCTeamDropdownList> octeamdropdownlist, List <OCClassStudent> occlassstudent) { if (!UserService.OC_IsRole(occlass.OCID)) { return(null); } OCClassBLL oCClassBLL = new OCClassBLL(); return(oCClassBLL.OCClass_Edit(occlass, octeamdropdownlist, occlassstudent)); }
public static bool OCClass_IsHistroy_Upd(OCClass model) { if (!UserService.OC_IsRole(model.OCID)) { return(false); } OCClassBLL oCClassBLL = new OCClassBLL(); return(oCClassBLL.OCClass_IsHistroy_Upd(model)); }
public static OCClass OCClass_Get(OCClass occlass) { if (!UserService.OC_IsRole(occlass.OCID)) { return(null); } OCClassBLL oCClassBLL = new OCClassBLL(); return(oCClassBLL.OCClass_Get(occlass)); }
public static List <OCClass> ClassList(OCClass model, int PageIndex, int PageSize) { if (!UserService.OC_IsRole(model.OCID)) { return(new List <OCClass>()); } OCClassBLL oCClassBLL = new OCClassBLL(); return(oCClassBLL.OCClass_List(model, PageIndex, PageSize)); }
public static int OC_Register(int OCID, string RegNum) { OCClass model = new OCClass { RegNum = RegNum, OCID = OCID, UserID = IES.Service.UserService.CurrentUser.UserID }; OCClass occls = new OCClassBLL().OC_Register(model); if (occls != null) { return(occls.output); } else { return(0); } }
public static List <OCClassStudent> OCClassStudent_List(OCClass occlass, int PageIndex, int PageSize) { OCClassBLL oCClassBLL = new OCClassBLL(); return(oCClassBLL.OCClassStudent_List(occlass, PageIndex, PageSize)); }
public static bool OCClass_InputOutAll(OCClass model) { OCClassBLL oCClassBLL = new OCClassBLL(); return(true);// oCClassBLL.OCClass_IsHistroy_Upd(model); }
public static bool OCClass_Del(OCClass model) { OCClassBLL oCClassBLL = new OCClassBLL(); return(oCClassBLL.OCClass_Del(model)); }
public static bool OCClass_RegNum_Upd(OCClass model) { OCClassBLL oCClassBLL = new OCClassBLL(); return(oCClassBLL.OCClass_RegNum_Upd(model)); }