public ActionResult Post([FromBody] ApproveRequest req) { var uatpResp = new PayPalServiceModel().DoExpressCheckOutPaymentUATP(req.TokenId, req.PayerId); return(new JsonResult(uatpResp)); }
public ActionResult Get() { var service = new PayPalServiceModel(); return(new JsonResult(service.SetExpressCheckOut())); }