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());
 }