public void Copy(News_Bindable bindable) { bindable.Url = url; bindable.Title = name; bindable.Summary = summary; bindable.Posted = date_found; }
public void Copy(IEnumerable <News> response) { try { this._allNews.Clear(); if (response.Count() > 0) { foreach (var item in response) { var newitem = new News_Bindable(); item.Copy(newitem); this._allNews.Add(newitem); } } } catch (Exception e) { throw (e); } }