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