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