public ActionResult TableManager()
 {
     if (Session["role"] != null && (string)Session["role"] == "Manager")
     {
         ViewBag.Table = TableAction.Get_All_Table();
         return(View());
     }
     return(Redirect("~/Home/HomePage"));
 }
示例#2
0
 public ActionResult ShowTable()
 {
     ViewBag.Table = TableAction.Get_All_Table();
     return(View());
 }