Пример #1
0
        public static OCTeamRole OCTeamRole_Get(int OCID)
        {
            OCTeamRole octeamrole = new OCTeamRole();
            OCTeamBLL  oCTeamBLL  = new OCTeamBLL();

            IES.JW.Model.User user = IES.Service.UserService.CurrentUser;
            octeamrole        = oCTeamBLL.OCTeamRole_Get(user.UserID, OCID);
            octeamrole.UserID = user.UserID;
            octeamrole.OCID   = OCID;
            return(octeamrole);
        }
Пример #2
0
 /// <summary>
 /// 获取用户的在线课程角色
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public static OCTeamRole OCTeam_Role_Get(OCTeamRole model)
 {
     return(new OCTeamRoleBLL().OCTeam_Role_Get(model));
 }
Пример #3
0
 public static OCTeamRole OCTeam_Role_Get(OCTeamRole model)
 {
     IES.JW.Model.User user = IES.Service.UserService.CurrentUser;
     model.UserID = user.UserID;
     return(new OCTeamRoleBLL().OCTeam_Role_Get(model));
 }