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