Channel9Downloader.DataAccess.CategoryRepository.RetrieveCategories C# (CSharp) Method

RetrieveCategories() private method

Retrieves the categories from the channel 9 site.
private RetrieveCategories ( ) : void
return void
        private void RetrieveCategories()
        {
            var tags = _categoryScraper.GetAllCategories<Tag>();
            var shows = _categoryScraper.GetAllCategories<Show>();
            var series = _categoryScraper.GetAllCategories<Series>();

            if (_categories != null)
            {
                SetIsEnabled(tags, _categories.Tags);
                SetIsEnabled(shows, _categories.Shows);
                SetIsEnabled(series, _categories.Series);
            }

            _categories = new Categories(tags, shows, series);
        }