예제 #1
0
        public void OK(ProcessPaymentOutput output)
        {
            var response = new PaymentResponse(output);

            this.ViewModel = new OkObjectResult(response);
        }
예제 #2
0
 public PaymentResponse(ProcessPaymentOutput output)
 {
     PaymentId     = output.PaymentId.Value;
     PaymentStatus = (int)output.PaymentStatus;
 }