Ejemplo n.º 1
0
        public ActionResult IsLoggedOn()
        {
            bool response = false;

            try
            {
                response = _restClient.IsLoggedOn(Identity.BOSessionId);
            }
            catch (Exception ex)
            {
                response = false;
                _logger.Error("Error occurred waking up server", ex);
            }
            return(Json(new { Success = response }));
        }