public HttpResponseMessage Count() { try { return(Request.CreateResponse(HttpStatusCode.OK, tipoeventoRepository.Count())); } catch (Exception _excepcion) { log.Error(_excepcion); return(Request.CreateResponse(HttpStatusCode.InternalServerError, _excepcion)); } }