Ejemplo n.º 1
0
        public async Task <IEnumerable <BaseModel> > GetSeriesList()
        {
            Uri AllSeriesUrl = new Uri(Selected.AllSeriesUrl);
            //Download Html document
            string doc = await _download.LoadDocumentAsync(AllSeriesUrl).ConfigureAwait(false);

            //Parse the Html document to get List of Series
            return(_parseHtml.GetList(doc, BaseType.Serie));
        }
Ejemplo n.º 2
0
        public async Task ShouldLoadDocument()
        {
            string doc = await _content.LoadDocumentAsync(uri);

            Assert.IsNotEmpty(doc);
        }