Example #1
0
 /// <summary>
 /// This method is used for the SaveUpsiList.
 /// <param name="sConnectionString">DB Connection String</param>
 /// <param name="m_objCompanyDTO">ImplementedCompanyDTO objects</param>  SaveDetails
 /// <returns>if save then return true else return false</returns>
 public UpsiDTO SaveUpsiList(string i_sConnectionString, DataTable dt_UpsiList)
 {
     //InsiderTradingDAL.CompanyDAL objCompanyDAL = new InsiderTradingDAL.CompanyDAL();
     try
     {
         using (var objUpsiDAL = new InsiderTradingDAL.UpsiDAL())
         {
             return(objUpsiDAL.SaveUpsiList(i_sConnectionString, dt_UpsiList));
         }
     }
     catch (Exception exp)
     {
         throw exp;
     }
     //return bReturn;
 }