public ActionResult Add( PostNewTweetCommand command ) { var service = new SimpleTwitterCommandServiceClient(); service.Excecute( command ); return RedirectToAction( "Index" ); }
public ActionResult Add(PostNewTweetCommand command) { var service = new SimpleTwitterCommandServiceClient(); service.Execute(command); return(View()); }