public void Close <TViewModel>(DialogResult dialogResult, IAgileTeamViewModel viewModel) where TViewModel : IAgileTeamViewModel { IsClosing = true; MessengerService.CloseView <TViewModel>(); RaiseViewClosedEvent(new ViewModelEventArgs(dialogResult, viewModel)); IsClosed = true; }
private void Cancel(object obj) { MessengerService.CloseView <IAddUserViewModel>(); }