public ActionResult <Persona> Get(long id) { var result = _repo.GetByDni(id); if (result != null) { return(result); } else { return(NotFound()); } }