diff --git a/modules/payment/src/Payment.Web/Pages/Payment/PreCheckout.cshtml.cs b/modules/payment/src/Payment.Web/Pages/Payment/PreCheckout.cshtml.cs index 8841e38..0902d77 100644 --- a/modules/payment/src/Payment.Web/Pages/Payment/PreCheckout.cshtml.cs +++ b/modules/payment/src/Payment.Web/Pages/Payment/PreCheckout.cshtml.cs @@ -11,7 +11,7 @@ namespace Payment.Web.Pages.Payment { [BindProperty(SupportsGet = true)] public Guid PaymentRequestId { get; set; } - + public PaymentRequestDto PaymentRequest { get; set; } private readonly IPaymentRequestAppService _paymentRequestAppService; @@ -24,14 +24,14 @@ namespace Payment.Web.Pages.Payment _paymentRequestAppService = paymentRequestAppService; _paymentUrlBuilder = paymentUrlBuilder; } - + public async Task OnGetAsync() { PaymentRequest = await _paymentRequestAppService.GetAsync(PaymentRequestId); return Page(); } - + public async Task OnPostAsync() { PaymentRequest = await _paymentRequestAppService.GetAsync(PaymentRequestId);