public NewsViewModel() { _Services = new NewsServices(); if (_newsstate.IsNull()) _newsstate = _newsstatelist[0]; if (_newstype.IsNull()) _newstype = _newstypelist[0]; }
public NewsManagerViewModel() { _items = new ObservableCollection<NewsViewModel>(); _Services = new NewsServices(); _Services.OnGetNewsListCompleted += new EventHandler<GetEntityListEventArgs<NewsModel>>(_Services_OnGetNewsListCompleted); LoadData(); }
public PopupNews() { _newsServices = new NewsServices(); _newsServices.OnGetNewsListCompleted += new EventHandler<GetEntityListEventArgs<SAAS.Platform.Model.NewsModel>>(_newsServices_OnGetNewsListCompleted); }