public UserDto Validate(string text) { try { return(_service.ValidarUsuario(text)); } catch (Exception ex) { _log.ErrorFormat("\n<<Error:>>\n{0}\n<<En:>>\n{1}\n<<Datos:>>\n{2}", ex.Message, ex.StackTrace, text); throw new HttpResponseException(Request.CreateResponse(HttpStatusCode.InternalServerError, ex.Message)); } }