예제 #1
0
        public ActionResult <Persona> Get(long id)
        {
            var result = _repo.GetByDni(id);


            if (result != null)
            {
                return(result);
            }
            else
            {
                return(NotFound());
            }
        }