Exemplo n.º 1
0
 public ActionResult ViewSchedule(int id)
 {
     Session.Add("teacherid", id.ToString());
     return(View(sdb.GetAllScheduleByTeacherid(id)));
 }
Exemplo n.º 2
0
        public ActionResult ListSchedule()
        {
            var sc = scdb.GetAllScheduleByTeacherid(Convert.ToInt32(Session["tutorid"].ToString()));

            return(PartialView("_ListSchedule", sc));
        }