Пример #1
0
 public void Verify()
 {
     authenApp.Create("System");
     _runApp.Verification(new VerificationReq
     {
         FlowInstanceId      = "7335d82f-5c3d-43e5-a53b-7d51a7cb1f59",
         VerificationFinally = "3"
     });
 }
 public string Verification(VerificationReq request)
 {
     try
     {
         _app.Verification(request);
     }
     catch (Exception ex)
     {
         Result.Code    = 500;
         Result.Message = ex.InnerException?.Message ?? ex.Message;
     }
     return(JsonHelper.Instance.Serialize(Result));
 }
        public Response Verification(VerificationReq request)
        {
            var response = new Response();

            try {
                _app.Verification(request);
            } catch (Exception ex) {
                response.Code    = 500;
                response.Message = ex.InnerException?.Message ?? ex.Message;
            }

            return(response);
        }