public IEnumerable<IResult> AddGame() { var add = new AddGameToLibrary { Title = Title, Notes = Notes, Rating = Rating }.AsResult(); wasSaved = true; yield return add; yield return Show.Child<SearchViewModel>() .In<IShell>(); }
public IEnumerable <IResult> AddGame() { var add = new AddGameToLibrary { Title = Title, Notes = Notes, Rating = Rating }.AsResult(); wasSaved = true; yield return(add); yield return(Show.Child <SearchViewModel>() .In <IShell>()); }