public bool AddManifestationType(ManifestationType newType) { if (FindLabel(newType.Id) != null) { return(false); } ManifestationTypes.Add(newType); SaveData(); return(true); }
public bool DeleteManifestationType(string id) { ManifestationType target = FindManifestationType(id); if (target == null) { return(false); } ManifestationTypes.Remove(target); SaveData(); return(true); }