Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="i_sConnectionString"></param>
 /// <param name="objSecurityTransferDTO"></param>
 /// <returns></returns>
 public InsiderTradingDAL.SecurityTransferDTO TransferBalance(string i_sConnectionString, SecurityTransferDTO objSecurityTransferDTO)
 {
     try
     {
         using (var objSecurityTransferDAL = new SecurityTransferDAL())
         {
             return(objSecurityTransferDAL.TransferBalance(i_sConnectionString, objSecurityTransferDTO));
         }
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 public SecurityTransferDTO GetPendingTransactionforSecurityTransfer(string i_sConnectionString, int i_nUserInfoID,
                                                                     out int out_PendingPeriodEndCount, out int out_PendingTransactionsCountPNT, out int out_PendingTransactionsCountPCL)
 {
     try
     {
         using (var objSecurityTransferDAL = new SecurityTransferDAL())
         {
             return(objSecurityTransferDAL.GetPendingTransactionforSecurityTransfer(i_sConnectionString, i_nUserInfoID,
                                                                                    out out_PendingPeriodEndCount, out out_PendingTransactionsCountPNT, out out_PendingTransactionsCountPCL));
         }
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Exemplo n.º 3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="i_sConnectionString"></param>
 /// <param name="i_nUserInfoID"></param>
 /// <param name="i_nSecurityTypeCodeID"></param>
 /// <param name="i_nDMATdetailsID"></param>
 /// <param name="i_nSecurityTransferOption"></param>
 /// <param name="out_dAvailableQuantity"></param>
 /// <returns></returns>
 public SecurityTransferDTO GetAvailableQuantityForIndividualDematOrAllDemat(string i_sConnectionString, int i_nUserInfoID, int i_nUserInfoRelativeID,
                                                                             int i_nSecurityTypeCodeID, int i_nDMATdetailsID, int i_nSecurityTransferOption,
                                                                             out decimal out_dAvailableQuantity, out decimal out_dAvailableESOPQty, out decimal out_dAvailableOtherQty)
 {
     try
     {
         using (var objSecurityTransferDAL = new SecurityTransferDAL())
         {
             return(objSecurityTransferDAL.GetAvailableQuantityForIndividualDematOrAllDemat(i_sConnectionString, i_nUserInfoID, i_nUserInfoRelativeID, i_nSecurityTypeCodeID, i_nDMATdetailsID
                                                                                            , i_nSecurityTransferOption, out out_dAvailableQuantity, out out_dAvailableESOPQty, out out_dAvailableOtherQty));
         }
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }