public ActionResult Remover(string id) { var restaurante = _restauranteRepository.ObterPorId(id); if (restaurante == null) { return(NotFound()); } (var totalRestauranteRemovido, var totalAvaliacoesRemovidas) = _restauranteRepository.Remover(id); return(Ok( new { data = $"Total de exclusões: {totalRestauranteRemovido} restaurante com {totalAvaliacoesRemovidas} avaliações" } )); }