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