public void Run() { var document = this.GetDocument(); var news = this.ConvertToNews(document); _repository.AddRange(news); _repository.Save(); }
public void Run() { var document = this.GetDocument(); var news = this.ConvertToNews(document); _repository.AddRange(news); _repository.Save(); }