/// <summary> /// 获取团队申请表信息 /// </summary> /// <param name="id">团队ID</param> /// <returns>获取团队申请信息</returns> public teamapplication GetTeamapplication(int id) { teamapplication TeamapplicationInfo = new teamapplication(); var Teamapplicant = TeamAppliCantService.LoadEntities(u => u.iTeamID == id).FirstOrDefault(); if (Teamapplicant != null) { TeamapplicationInfo = TeamapplicationService.LoadEntities(u => u.ID == Teamapplicant.iTeamApplicationID).FirstOrDefault(); } return(TeamapplicationInfo); }
/// <summary> /// 添加团队申请表信息 /// </summary> /// <param name="teamapplication"></param> /// <returns></returns> public teamapplication AddTeamapplication(teamapplication teamapplication) { return(TeamapplicationService.AddEntity(teamapplication)); }