public void Apaga(int id) { Usuario item = repositorio.MostraByID(id); if (item == null) { throw new HttpResponseException(HttpStatusCode.NotFound); } repositorio.Apaga(id); }