extracting find Restaurante by id to a method (suggested by teacher)