Esempio n. 1
0
        public IEnumerable <Movie> GetMovies(int idActor)
        {
            validateActor(idActor);
            var movies = cineRepository.GetMovies();

            return(movies.Where(m => m.ActorId == idActor));
        }