public MemberDetailViewModel( IEventAggregator eventAggregator, IDialogMessageService dialogMessageService, IMemberRepository memberRepository, ISubscriptionLookupDataService subscriptionLookupDataService) : base(eventAggregator, dialogMessageService) { this.memberRepository = memberRepository; this.subscriptionLookupDataService = subscriptionLookupDataService; Subscriptions = new ObservableCollection <LookupItem>(); }
public NavigationViewModel( IEventAggregator eventAggregator, IMemberLookupDataService memberLookupDataService, ITrainerLookupDataService trainerLookupDataService, ISubscriptionLookupDataService subscriptionLookupDataService) { this.eventAggregator = eventAggregator; this.memberLookupDataService = memberLookupDataService; this.trainerLookupDataService = trainerLookupDataService; this.subscriptionLookupDataService = subscriptionLookupDataService; Members = new ObservableCollection <NavigationItemViewModel>(); Trainers = new ObservableCollection <NavigationItemViewModel>(); Subscriptions = new ObservableCollection <NavigationItemViewModel>(); SubscribeEvents(); }