示例#1
0
        public void Run()
        {
            var document = this.GetDocument();
            var news     = this.ConvertToNews(document);

            _repository.AddRange(news);
            _repository.Save();
        }