示例#1
0
 public static string GetResourcesPath(this Models.Sessions.SessionBase session, string slash)
 {
     return(Globals.GetResourcesPath(session.ConferenceId, session.SessionId, slash));
 }
示例#2
0
 public static IOrderedEnumerable <Models.SessionSpeakers.SessionSpeaker> GetSpeakers(this Models.Sessions.SessionBase session)
 {
     return(SessionSpeakerRepository.Instance.GetSessionSpeakersBySession(session.SessionId).OrderBy(p => p.Sort));
 }
示例#3
0
 public static IOrderedEnumerable <Models.SessionTags.SessionTag> GetTags(this Models.Sessions.SessionBase session)
 {
     return(SessionTagRepository.Instance.GetSessionTagsBySession(session.SessionId).OrderBy(t => t.TagName));
 }