public void Delete(Coupon data) { CouponDAO.Delete(data); }
public Coupon Add(Coupon data) { CouponDAO.Add(data); return data; }
public void Update(Coupon data) { CouponDAO.Update(data); }
/// <summary> /// Delete Coupon from database. /// </summary> /// <param name="data"></param> /// <returns></returns> public void Delete(Coupon data) { HibernateTemplate.Delete(data); }
/// <summary> /// Add Coupon to database. /// </summary> /// <param name="data"></param> /// <returns></returns> public Coupon Add(Coupon data) { HibernateTemplate.Save(data); return data; }
/// <summary> /// Update Coupon to database. /// </summary> /// <param name="data"></param> /// <returns></returns> public void Update(Coupon data) { HibernateTemplate.Update(data); }