public void Delete() { if (ModelList.Contains(ModelId)) { ModelList.GetModelList().Remove(this); } }
public void Save() { if (!ModelList.Contains(ModelId)) { ModelList.GetModelList().Add(this); IsNew = false; } }
public void Delete() { if (ModelList.Contains(ModelId)) { ModelList.GetModelList().Remove(this); } }
public void Save() { if (!ModelList.Contains(ModelId)) { ModelList.GetModelList().Add(this); IsNew = false; } }