Exemple #1
0
        public void AddMovie(Movie _movie)
        {
            Movie movie = new Movie();

            movie        = _movie.Adapt <Movie>();
            movie.Source = "Concurrent cache";

            _concurrentCacheDictionary.AddOrUpdate(movie.MovieId, movie, (key, oldValue) => movie);
        }