public bool AddModifyTModel() { if (!Validate()) { return(false); } if (Add()) { ChangesHaveBeenMade = true; OnModifyCommandExecute?.Invoke(ModifyTargetVM); return(true); } return(false); }
public bool SaveModifyTModel() { if (!Validate()) { return(false); } bool changesHaveBeenMade; if (Save(out changesHaveBeenMade)) { ChangesHaveBeenMade = changesHaveBeenMade; OnModifyCommandExecute?.Invoke(ModifyTargetVM); return(true); } return(false); }