public void Delete() { if (ModelList.Contains(ModelId)) { ModelList.GetModelList().Remove(this); } }
public void Save() { if (!ModelList.Contains(ModelId)) { ModelList.GetModelList().Add(this); IsNew = false; } }
private static void BuildInstance() { _instance = new ModelList(); ResetData(); }