public async Task <dynamic> Documento(int id) { var result = await dao.Documento(id); if (result != null) { return(Ok(result)); } else { return(NotFound()); } }
public dynamic Documento(int id) { return(dao.Documento(id)); }