// GET: Timetablemain
        public ActionResult Timetablemain()
        {
            StudentEntities8 tt = new StudentEntities8();
            var data            = tt.sp_timetable1().ToList();

            return(View(data));
        }
Пример #2
0
        // GET: TT1
        public ActionResult TimeTable1(string standard)
        {
            StudentEntities8 tt = new StudentEntities8();
            var data            = tt.sp_timetable1().Where(x => x.Standard == standard).ToList();

            ViewBag.timetable = data;

            return(View());
        }
Пример #3
0
        // GET: TT1
        public ActionResult TimeTable1()
        {
            StudentEntities8 tt = new StudentEntities8();
            var data            = tt.sp_timetable1().ToList();

            ViewBag.timetable = data;

            return(View());
        }