Esempio n. 1
0
        public ActionResult SWIGetDashboards()
        {
            writeDebug("SWIGetDashboards");
            try
            {
                checkSWIAuthentication();

                //Public Dashboards not selected
                return(Json(WebUser.GetDashboards().Where(i => !WebUser.Profile.Dashboards.Contains(i.GUID)).OrderBy(i => i.Order).ToArray()));
            }
            catch (Exception ex)
            {
                return(HandleSWIException(ex));
            }
        }