public PaymentMethodObject GetPaymentMethod(long paymentMethodId) { try { return(_paymentMethodRepository.GetPaymentMethod(paymentMethodId)); } catch (Exception ex) { ErrorLogger.LogError(ex.StackTrace, ex.Source, ex.Message); return(new PaymentMethodObject()); } }