public static IES.CC.OC.Model.OC OCCourse_ADD(IES.CC.OC.Model.OC OC, List <OCTeam> octeamlist)
 {
     IES.JW.Model.User user = IES.Service.UserService.CurrentUser;
     OC.RowNum     = user.UserID;
     OC.TemplateID = Int32.Parse(user.CurrentUserSpace);
     OC.Role       = user.Role;
     IES.G2S.OC.BLL.OC.OCBLL ocBLL = new IES.G2S.OC.BLL.OC.OCBLL();
     return(ocBLL.OCCourse_ADD(OC, octeamlist));
 }
 public static IES.CC.OC.Model.OC OCCourse_ADD(IES.CC.OC.Model.OC OC, OCTeam octeam)
 {
     IES.JW.Model.User user = IES.Service.UserService.CurrentUser;
     OC.RowNum     = user.UserID;
     OC.TemplateID = Int32.Parse(user.CurrentUserSpace);
     //新建课程的时候自己已经作为创建者添加到教学团队 不需要再作为主讲教师了
     if (user.UserID == octeam.UserID)
     {
         octeam.UserID = -1;
     }
     IES.G2S.OC.BLL.OC.OCBLL ocBLL = new IES.G2S.OC.BLL.OC.OCBLL();
     return(ocBLL.OCCourse_ADD(OC, octeam));
 }
 public static bool OC_CourseID_Upd(int ocid, int courseID)
 {
     IES.G2S.OC.BLL.OC.OCBLL ocBLL = new IES.G2S.OC.BLL.OC.OCBLL();
     return(ocBLL.OC_CourseID_Upd(ocid, courseID));
 }
 public static bool OC_CourseID_Upd(int ocid, int courseID)
 {
     IES.G2S.OC.BLL.OC.OCBLL ocBLL = new IES.G2S.OC.BLL.OC.OCBLL();
     return ocBLL.OC_CourseID_Upd(ocid, courseID);
 }
 public static IES.CC.OC.Model.OC OCCourse_ADD(IES.CC.OC.Model.OC OC, List<OCTeam> octeamlist)
 {
     IES.JW.Model.User user = IES.Service.UserService.CurrentUser;
     OC.RowNum = user.UserID;
     OC.TemplateID = Int32.Parse(user.CurrentUserSpace);
     OC.Role = user.Role;
     IES.G2S.OC.BLL.OC.OCBLL ocBLL = new IES.G2S.OC.BLL.OC.OCBLL();
     return ocBLL.OCCourse_ADD(OC, octeamlist);
 }
 public static IES.CC.OC.Model.OC OCCourse_ADD(IES.CC.OC.Model.OC OC, OCTeam octeam)
 {
     IES.JW.Model.User user = IES.Service.UserService.CurrentUser;
     OC.RowNum = user.UserID;
     OC.TemplateID = Int32.Parse(user.CurrentUserSpace);
     //新建课程的时候自己已经作为创建者添加到教学团队 不需要再作为主讲教师了
     if (user.UserID == octeam.UserID)
     {
         octeam.UserID = -1;
     }
     IES.G2S.OC.BLL.OC.OCBLL ocBLL = new IES.G2S.OC.BLL.OC.OCBLL();
     return ocBLL.OCCourse_ADD(OC, octeam);
 }