public int Add(CpPackageVdrInfo obj, ref string sErr) { _objDAO.Add(obj, ref sErr); if (string.IsNullOrEmpty(sErr)) { //add details } return(1); }