Example #1
0
 public void Delete()
 {
     if (BrandList.Contains(BrandId))
     {
         BrandList.GetBrandList().Remove(this);
     }
 }
Example #2
0
 public void Save()
 {
     _isNew  = false;
     IsDirty = false;
     if (!BrandList.Contains(BrandId))
     {
         BrandList.GetBrandList().Add(this);
     }
 }