public ActionResult GetMyThemes()
        {
            ChoseThemeDal d = new ChoseThemeDal();
            Student       s = (Student)Session["student"];

            if (s == null)
            {
                return(RedirectToAction("Login", "Login"));
            }
            ChoseThemeService       chosethemeservice = new ChoseThemeService();
            IQueryable <ChoseTheme> c = d.GetEntities(u => u.CT_Id > 0);
            //  IList<Profession> pro= p.GetAllProfession();
            IQueryable <ChoseTheme> themes = d.GetEntities(u => u.Student.Stu_Num == s.Stu_Num);
            string str = js.Serialize(themes);

            Response.Write(str);
            Response.End();
            return(View());
        }
 public IQueryable <ChoseTheme> GetAllChoseTheme()
 {
     return(ctDal.GetEntities(u => u.CT_Id > 0));
 }