public LoggedInUserView(LoggedInUserViewModel viewModel,IEventAggregator eventAggregator)
 {
     InitializeComponent();
     DataContext = viewModel;
     _eventAggregator = eventAggregator;
     _viewModel = viewModel;
 }
 public LoggedInUserView(LoggedInUserViewModel viewModel, IEventAggregator eventAggregator)
 {
     InitializeComponent();
     DataContext      = viewModel;
     _eventAggregator = eventAggregator;
     _viewModel       = viewModel;
 }