Пример #1
0
 /// <summary>
 /// Returns  Payment Gateways and their setting values.
 /// </summary>
 /// <param name="portalID">portalID</param>
 /// <returns>PaymentGatewayInfo object containg settingkey and values of Payment Gateway.</returns>
 public PaymentGatewayInfo GetPaymentGatewaysSetting(int portalID)
 {
     try
     {
         PaymentDataProvider objDataProvider = new PaymentDataProvider();
         return(objDataProvider.GetPaymentGatewaysSetting(portalID));
     }
     catch (Exception ex)
     {
         throw;
     }
 }
 /// <summary>
 /// Returns  Payment Gateways and their setting values.
 /// </summary>
 /// <param name="portalID">portalID</param>
 /// <returns>PaymentGatewayInfo object containg settingkey and values of Payment Gateway.</returns>
 public PaymentGatewayInfo GetPaymentGatewaysSetting(int portalID)
 {
     try
     {
         PaymentDataProvider objDataProvider = new PaymentDataProvider();
         return objDataProvider.GetPaymentGatewaysSetting(portalID);
     }
     catch 
     {
         throw;
     }
 }