public async Task <IActionResult> GetEstadisticas() { try { return(Ok(await PersonaDominio.ObtenerEstadisticasAsync())); } catch (DatosInvalidosException ex) { return(BadRequest(Errores.GetModelStateErrores(ex.Data))); } catch { return(StatusCode(500)); } }