public override RatingResult GetRating(string imdbId, IHttpService httpService) { return(GetRatingWithCache(imdbId, httpService, new FileSystem())); }
public PosterService(IFileSystem fileSystem = null, IHttpService httpService = null) { this.fileSystem = fileSystem ?? new FileSystem(); this.httpService = httpService ?? new HttpService(); }
public virtual RatingResult GetRating(string imdbId, IHttpService httpService) { return(GetRatingFromApi(imdbId, httpService)); }