Exemple #1
0
        public SearchListData ParsePreviousPage()
        {
            if (PreviousPageLink == null)
            {
                throw new Exception("Cannot parse previous page because it does not exist!");
            }

            return(AnimeSearchParser.Parse(NextPageLink.Path));
        }
Exemple #2
0
        public async Task <SearchListData> ParsePreviousPageAsync()
        {
            if (PreviousPageLink == null)
            {
                throw new Exception("Cannot parse previous page because it does not exist!");
            }

            return(await AnimeSearchParser.ParseAsync(NextPageLink.Path));
        }