This commit is contained in:
Hao Kung 2015-09-15 15:11:09 -07:00
parent a2cbaa0666
commit eb4aaa5800
1 changed files with 1 additions and 1 deletions

View File

@ -979,7 +979,7 @@ namespace Microsoft.AspNet.Identity.EntityFramework
ThrowIfDisposed(); ThrowIfDisposed();
if (String.IsNullOrEmpty(roleName)) if (String.IsNullOrEmpty(roleName))
{ {
throw new ArgumentNullException(nameof(role)); throw new ArgumentNullException(nameof(roleName));
} }
var role = await Roles.Where(x => x.Name.Equals(roleName)).FirstOrDefaultAsync(cancellationToken); var role = await Roles.Where(x => x.Name.Equals(roleName)).FirstOrDefaultAsync(cancellationToken);