public Task UpdateAsync(TRole role) { if (role == null) { throw new ArgumentNullException("user"); } roleTable.Update(role); return(Task.FromResult <Object>(null)); }
public Task UpdateAsync(IdentityRole role) { if (role == null) { throw new ArgumentNullException(nameof(role)); } _roleTable.Update(role); return(Task.FromResult <Object>(null)); }