JSFiddle - React, Tailwind, and code Playground
HTML
@if (BL.funcs.ifConnected())
{
<a href='@Url.Action("Disconnect", "Home")'>
התנתקות</a>
}
public ActionResult Manger()
{
if(BL.funcs.Permissions(Session["user"])=="Manger")
return View()
else return RedirectToAction("Index");
}