public ResetPasswordViewModel(ResetPasswordWindow owner, Instance instance, string projectId) { _owner = owner; _instance = instance; _projectId = projectId; OkCommand = new WeakCommand(OnOkCommand); CancelCommand = new WeakCommand(OnCancelCommand); }
public static void PromptUser(Instance instance, string projectId) { var dialog = new ResetPasswordWindow(instance, projectId); dialog.ShowModal(); }