public PagedList <MovieJMDBApi> GetAllWatchedMovies(long currentUserId, ResourceParameters moviesResourceParameters) { return(WatchedMoviesManager.GetAllMovies(currentUserId, moviesResourceParameters) as PagedList <MovieJMDBApi>); }
public List <WatchedMovieModel> GetAllWatchedMovies(long currentUserId) { List <MovieJMDBApi> movies = WatchedMoviesManager.GetAllMovies(currentUserId) as List <MovieJMDBApi>; return(movies.Select(a => Mapper.Mapper.Map(a)).ToList()); }