Esempio n. 1
0
 public ActionResult CreateTranscript()
 {
     if ((string)Session["role"] == "Admin")
     {
         ViewBag.SV   = StudentAction.GetAll();
         ViewBag.Mh   = SubjectAction.GetAll();
         ViewBag.Mark = RegSectorSubjectAction.ShowAll();
         return(View());
     }
     else
     {
         return(Redirect("~/Home/Index"));
     }
 }