public async Task RoleStore_roleid_apis() { var role = _roleTestFactory.CreateRole(); var id = await _roleStore.GetRoleIdAsync(role, default(CancellationToken)); id.ShouldMatch(role.Id); }
public async Task <string> GetRoleIdAsync(ApplicationRole role, CancellationToken cancellationToken) { return(await roleStore.GetRoleIdAsync(role, cancellationToken)); }