示例#1
0
 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));
 }
示例#2
0
 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));
 }
示例#3
0
 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));
 }
示例#4
0
 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);
 }
示例#5
0
 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);
 }
示例#6
0
 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);
 }