示例#1
0
 public void Delete(Coupon data)
 {
     CouponDAO.Delete(data);
 }
示例#2
0
 public Coupon Add(Coupon data)
 {
     CouponDAO.Add(data);
     return data;
 }
示例#3
0
 public void Update(Coupon data)
 {
     CouponDAO.Update(data);
 }
示例#4
0
 /// <summary>
 /// Delete Coupon from database.
 /// </summary>
 /// <param name="data"></param>
 /// <returns></returns>
 public void Delete(Coupon data)
 {
     HibernateTemplate.Delete(data);
 }
示例#5
0
 /// <summary>
 /// Add Coupon to database.
 /// </summary>
 /// <param name="data"></param>
 /// <returns></returns>
 public Coupon Add(Coupon data)
 {
     HibernateTemplate.Save(data);
     return data;
 }
示例#6
0
 /// <summary>
 /// Update Coupon to database.
 /// </summary>
 /// <param name="data"></param>
 /// <returns></returns>
 public void Update(Coupon data)
 {
     HibernateTemplate.Update(data);
 }