public IActionResult Get(int id) { var person = _personAppService.FindById(id); if (person == null) { return(NotFound()); } return(Ok(person)); }