public void OK(ProcessPaymentOutput output) { var response = new PaymentResponse(output); this.ViewModel = new OkObjectResult(response); }
public PaymentResponse(ProcessPaymentOutput output) { PaymentId = output.PaymentId.Value; PaymentStatus = (int)output.PaymentStatus; }