async void ShipOwnerVMList_CurrentChangedAsync() { CurrentElement = null; await CollectionInitializeAsync(); ModifyAndViewVM.Initialize_ActionView(CurrentElement); this.MenuCommandCRUDVM.AddNewCommand.InvalidateCanExecute(); }
protected override void OnAddCommandExecute() { ModifyAndViewVM.Initialize_ActionAdd((CurrentElement != null) ? (int?)CurrentElement.Id : null); }