public Company SaveOrUpdate(Company company)
 {
     HibernateTemplate.SaveOrUpdate(company);
     return company;
 }
 public void Delete(Company company)
 {
     HibernateTemplate.Delete(company);
 }