public TransactionLogListViewViewModel(INavigationService navigationService) : base(navigationService) { TransactionLogs = new XpoObservableCollection <TransactionLog>(uoW); UpdateCount(); SetupAddCustomerCommand(); SetupSyncCommand(); this.Identity = App.Identity; this.IsActiveChanged += TransactionLogListViewViewModel_IsActiveChanged; }
public HomeViewModel(INavigationService navigationService, IEventAggregator ea) : base(navigationService) { _ea = ea; Customers = new XpoObservableCollection <Customer>(uoW); UpdateCount(); SetupAddCustomerCommand(); SetupSyncCommand(); SetupRefreashCollectionCommand(); SetupItemTappedCommand(); this.Identity = App.Identity; }