AspNetIntro2016.Controllers.ManageController.AddErrors C# (CSharp) Méthode

AddErrors() private méthode

private AddErrors ( Microsoft.AspNet.Identity.IdentityResult result ) : void
result Microsoft.AspNet.Identity.IdentityResult
Résultat void
        private void AddErrors(IdentityResult result)
        {
            foreach (var error in result.Errors)
            {
                ModelState.AddModelError("", error);
            }
        }