Ejemplo n.º 1
0
        public async Task <IActionResult> VerifyResult(IdentityRequest model)
        {
            IdentityVerifyLib.Data.AuthResult result;
            if (!String.IsNullOrEmpty(model.Portrait))
            {
                result = await verifyService.VerifyIdWithImageAsync(model.ID, model.FullName, model.Portrait.Substring(model.Portrait.IndexOf(",") + 1));
            }
            else
            {
                result = await verifyService.VerifyIdAsync(model.ID, model.FullName);
            }



            return(View(IdentityResult.FromAuthResult(result)));
        }