public bool AddManifestation(Manifestation newManif) { if (FindManifestation(newManif.Id) != null) { return(false); } Manifestations.Add(newManif); SaveData(); return(true); }
public bool DeleteManifestation(string id) { Manifestation target = FindManifestation(id); if (target == null) { return(false); } Manifestations.Remove(target); SaveData(); return(true); }