public ActionResult Update(UpdateNewsCommand command)
        {
            Configuration.Instance().Bus.Handle(command);

            //var news = Configuration.Instance().NewsReadModel.News;
            //return View("Index",news);
            return this.Index();
        }
 public void Handle(UpdateNewsCommand command)
 {
     var news = _repository.GetById<News>(command.Id);
     news.Update(command.Title, command.Summary, command.Content);
     _repository.Save(news);
 }