Example #1
0
 private void Assert(IdentityResult result)
 {
     if (!result.Succeeded)
     {
         throw new InvalidOperationException(result.ToErrorString());
     }
 }