public static Sessions GetByCase(int id) { Sessions session = SessionDAL.GetByCase(id); if (session != null) { session.SessionQuestions = SessionQuestionDAL.GetBySession(session.SessionId); } return(session); }
public static List <SessionQuestion> GetBySession(int sessionId) { return(SessionQuestionDAL.GetBySession(sessionId)); }