Пример #1
0
 public JsonResult ConfirmPayment(RequestBidsModel bid)
 {
     try {
         RequestModel reqRepo = new RequestModel();
         var          auth    = AuthorizationGateway.GetAuthorizedInfo();
         reqRepo.ConfirmPayment(bid, auth);
         return(Json(new { Result = "OK" }, JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(new { Result = "ERROR", Message = ex.Message }, JsonRequestBehavior.AllowGet));
     }
 }