Esempio n. 1
0
 public PreclearanceRequestDTO Save(string i_sConnectionString, PreclearanceRequestDTO m_objPreclearanceRequestDTO, out string out_dtContraTradeTillDate, out string out_sPeriodEnddate, out string out_sApproveddate, out string out_sPreValiditydate, out string out_sProhibitOnPer, out string out_sProhibitOnQuantity)
 {
     try
     {
         using (var objPreclearanceRequestDAL = new PreclearanceRequestDAL()){
             return(objPreclearanceRequestDAL.Save(i_sConnectionString, m_objPreclearanceRequestDTO, out out_dtContraTradeTillDate, out out_sPeriodEnddate, out out_sApproveddate, out out_sPreValiditydate, out out_sProhibitOnPer, out out_sProhibitOnQuantity));
         }
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Esempio n. 2
0
 public InsiderTradingDAL.PreclearanceRequestDTO GetLastPeriodEndSubmissonFlag(string i_sConnectionString, int i_nUserInfoID, out int out_nIsPreviousPeriodEndSubmission, out string out_sSubsequentPeriodEndOrPreciousPeriodEndResource, out string out_sSubsequentPeriodEndResourceOwnSecurity)
 {
     try
     {
         using (var objPreclearanceRequestDAL = new PreclearanceRequestDAL())
         {
             return(objPreclearanceRequestDAL.GetLastPeriodEndSubmissonFlag(i_sConnectionString, i_nUserInfoID, out out_nIsPreviousPeriodEndSubmission, out out_sSubsequentPeriodEndOrPreciousPeriodEndResource, out out_sSubsequentPeriodEndResourceOwnSecurity));
         }
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Esempio n. 3
0
 public InsiderTradingDAL.FormEDetailsDTO GetFormEDetails(string i_sConnectionString, int i_nMapToTypeCodeId, int i_nMapToId)
 {
     try
     {
         using (var objPreclearanceRequestDAL = new PreclearanceRequestDAL())
         {
             return(objPreclearanceRequestDAL.GetFormEDetails(i_sConnectionString, i_nMapToTypeCodeId, i_nMapToId));
         }
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Esempio n. 4
0
 public InsiderTradingDAL.PreclearanceRequestDTO GetDetails(string i_sConnectionString, long i_nPreclearanceRequestId)
 {
     try
     {
         using (var objPreclearanceRequestDAL = new PreclearanceRequestDAL())
         {
             return(objPreclearanceRequestDAL.GetDetails(i_sConnectionString, i_nPreclearanceRequestId));
         }
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Esempio n. 5
0
        /// <summary>
        /// This method is used to get security balance details for user
        /// </summary>
        /// <param name="i_sConnectionString"></param>
        /// <param name="i_nUserInfoId"></param>
        /// <param name="i_nSecurityTypeCodeId"></param>
        /// <returns></returns>
        public ExerciseBalancePoolDTO GetSecurityBalanceDetailsFromPool(string i_sConnectionString, int i_nUserInfoId, int i_nSecurityTypeCodeId, int i_nDMATDetailsID)
        {
            ExerciseBalancePoolDTO objExerciseBalancePoolDTO = null;

            try
            {
                //PreclearanceRequestDAL objPreclearanceRequestDAL = new PreclearanceRequestDAL();
                using (var objPreclearanceRequestDAL = new PreclearanceRequestDAL())
                {
                    objExerciseBalancePoolDTO = objPreclearanceRequestDAL.GetSecurityBalanceDetailsFromPool(i_sConnectionString, i_nUserInfoId, i_nSecurityTypeCodeId, i_nDMATDetailsID);
                }
            }
            catch (Exception exp)
            {
                throw exp;
            }

            return(objExerciseBalancePoolDTO);
        }