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