Example #1
0
        private bool AddFavorite(UserMovie userMovie)
        {
            userMovie = _userMovieData.AddFavorite(userMovie);
            _userMovieData.Commit();

            var movie = _sqlMovieData.GetShort(userMovie.MovieId);

            _sqlMovieData.AddFavorite(movie);
            _sqlMovieData.Commit();
            return(true);
        }