/// <summary>
 ///     Updates the movie.
 /// </summary>
 /// <param name="movie">The movie.</param>
 public void UpdateMovie(MovieDto movie)
 {
     Guard.NotNull(movie, nameof(movie));
     _dataSource.Update(movie.ToMovieData());
 }
        /// <summary>
        ///     Creates the movie.
        /// </summary>
        /// <param name="movie">The movie.</param>
        /// <returns>movie id</returns>
        public int CreateMovie(MovieDto movie)
        {
            Guard.NotNull(movie, nameof(movie));

            return(_dataSource.Create(movie.ToMovieData()));
        }