public ActionResult GetUsersList()
        {
            GenericAjaxResponse <List <AHP.Core.DTO.ExternalUserInfo> > response = new GenericAjaxResponse <List <AHP.Core.DTO.ExternalUserInfo> >();

            try
            {
                response = _restClient.GetAllUsers();
                if (response == null || response.Data == null)
                {
                    response         = new GenericAjaxResponse <List <Core.DTO.ExternalUserInfo> >();
                    response.Success = false;
                    response.Errors.Add("Error occurred. Please try again.");
                    return(Json(response));
                }
                response.Success = true;
            }
            catch (Exception ex)
            {
                response.Success = false;
                response.Errors.Add("Error occurred getting users. Please try again");
                _logger.Info("Could not retrieve users from database. Error " + ex.Message);
            }
            return(Json(response));
        }