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); }
/// <summary> /// 获取用户的在线课程角色 /// </summary> /// <param name="model"></param> /// <returns></returns> public static OCTeamRole OCTeam_Role_Get(OCTeamRole model) { return(new OCTeamRoleBLL().OCTeam_Role_Get(model)); }
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)); }