public void CancelWindow(object data) { try { this.NewRole = null; CloseWindow = false; } catch (Exception ex) { LogSystem.Error(ex); } }
public RoleCreateViewModel() { this.CreateNewCommand = new RelayCommand(this.CreateNewModule, null); this.CloseWindowCommand = new RelayCommand(this.CancelWindow, null); this.NewRole = new AAS.EFMODEL.DataModels.Role(); }