示例#1
0
文件: SessionBLL.cs 项目: ahmgeek/crm
        public static Sessions GetByCase(int id)
        {
            Sessions session = SessionDAL.GetByCase(id);

            if (session != null)
            {
                session.SessionQuestions = SessionQuestionDAL.GetBySession(session.SessionId);
            }
            return(session);
        }
示例#2
0
 public static List <SessionQuestion> GetBySession(int sessionId)
 {
     return(SessionQuestionDAL.GetBySession(sessionId));
 }