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