public BankNotifyItemViewModel(IBankNotifyService notifyService, long id, DateTime created, bool isReaded, string displayName, string description) { _notifyService = notifyService; Id = id; Created = created; IsReaded = isReaded; _displayName = displayName; _description = description; }
public MainViewModel(IBankNotifyService notifyService) { _notifyService = notifyService; NotifyViewModel = new BankNotifyViewModel(notifyService); }
public BankNotifyViewModel(IBankNotifyService notifyService) { _notifyService = notifyService; BankNotifies = new ObservableCollection <BankNotifyItemViewModel>(); SelectedBankNotify = new BankNotifyItemViewModel(); }