Esempio n. 1
0
        public bool CreateMovie(Movie movie)
        {
            var movieExists = MoviesRepository.ContainsMovie(movie);

            if (!movieExists)
            {
                MoviesRepository.CreateMovie(movie);
                return(true);
            }
            return(false);
        }