public Tarefa GetTarefa(int id) { Tarefa Tarefa = repositorio.Busca(id); if (Tarefa == null) { throw new HttpResponseException(HttpStatusCode.NotFound); } return(Tarefa); }