public void Update(SearchResultsModel model) { this.Results.Clear(); foreach (SearchResult result in model.Results) { this.Results.Add(result); } }
public SearchResultsViewModel(SearchResultsModel model) { this.Results = new ObservableCollection<SearchResult>(); this.Update(model); }