Example #1
0
        protected bool Equals(Promotion entity)
        {
            if (entity == null) return false;
            if (!base.Equals(entity)) return false;

            return true;
        }
Example #2
0
 public Promotion Add(Promotion data)
 {
     PromotionDao.Add(data);
     return data;
 }
Example #3
0
 public void Delete(Promotion data)
 {
     PromotionDao.Delete(data);
 }
Example #4
0
 public void Update(Promotion data)
 {
     PromotionDao.Update(data);
 }