private Actor validateActor(int id, bool showMovies = false) { var actorFound = cineRepository.GetActor(id, showMovies); if (actorFound == null) { throw new NotFoundEx($"There isn't an actor with Id: {id}"); } return(actorFound); }