public void Delete() { if (BrandList.Contains(BrandId)) { BrandList.GetBrandList().Remove(this); } }
public void Save() { _isNew = false; IsDirty = false; if (!BrandList.Contains(BrandId)) { BrandList.GetBrandList().Add(this); } }
private static void BuildInstance() { Instance = new BrandList(); ResetData(); }