public IActionResult Get(int id) { try { return(Ok(_restauranteService.ObterPorId(id))); } catch (Exception ex) { return(BadRequest(ex.Message)); } }