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);
 }
Exemple #4
0
 /// <summary>
 /// Delete Contract from database.
 /// </summary>
 /// <param name="data"></param>
 /// <returns></returns>
 public void Delete(Contract data)
 {
     HibernateTemplate.Delete(data);
 }
Exemple #5
0
 /// <summary>
 /// Add Contract to database.
 /// </summary>
 /// <param name="data"></param>
 /// <returns></returns>
 public Contract Add(Contract data)
 {
     HibernateTemplate.Save(data);
     return data;
 }
Exemple #6
0
 /// <summary>
 /// Update Contract to database.
 /// </summary>
 /// <param name="data"></param>
 /// <returns></returns>
 public void Update(Contract data)
 {
     HibernateTemplate.Update(data);
 }