public Lite <DashboardEntity>?Home() { if (TypeAuthLogic.GetAllowed(typeof(DashboardEntity)).MaxUI() == TypeAllowedBasic.None) { return(null); } var result = DashboardLogic.GetHomePageDashboard(); return(result?.ToLite()); }
public ActionResult Index() { if (UserEntity.Current == null) { return(RedirectToAction("PublicCatalog")); } var panel = DashboardLogic.GetHomePageDashboard(); if (panel != null) { return(View(DashboardClient.ViewPrefix.FormatWith("Dashboard"), panel)); } return(View()); }
public Lite <DashboardEntity>?Home() { var result = DashboardLogic.GetHomePageDashboard(); return(result?.ToLite()); }