public Task <MovieApiReturn> GetUpcomingMoviesDataAsync(int page, string language) { var apiReturn = new MovieApiReturn(); apiReturn.Movies = _mockMovies.ToArray(); return(Task.FromResult(apiReturn)); }
public Task <MovieApiReturn> GetMoviesAsync(int page, string language, string query) { var apiReturn = new MovieApiReturn(); apiReturn.Movies = new Movie[] { new Movie { Title = $"{query} 1" }, new Movie { Title = $"{query} 2" }, }; return(Task.FromResult(apiReturn)); }