Exemplo n.º 1
0
        public ActionResult allCourses()
        {
            string     faculty = Session["userFaculty"].ToString();
            UisContext db      = new UisContext();

            if (faculty == "CSE")
            {
                return(View(db.cse_courseLayout.ToList()));
            }



            return(View());
        }