예제 #1
0
 public PaymentModel FetchProposals(PaymentModel objPaymentModel)
 {
     try
     {
         PaymentLogic objPaymentLogic = new PaymentLogic();
         return(objPaymentLogic.FetchProposals(objPaymentModel));
     }
     catch (Exception ex)
     {
         log4net.GlobalContext.Properties["ErrorCode"] = objPaymentModel.Error.ErrorCode = Codes.GetErrorCode();
         Logger.Error(ex);
         objPaymentModel.Error.ErrorMessage = "Something went wrong. Please contact the admin, your reference code : " + objPaymentModel.Error.ErrorCode;
         return(objPaymentModel);
     }
 }