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