async protected Task LoadCurrentApplicationRoleAsync(string id) { this.CurrentApplicationRole = await _roleDbContext.FindByIdAsync(id, CancellationToken.None); }
public Task <ApplicationRole> FindByIdAsync(string roleId, CancellationToken cancellationToken) { return(_roleDbContext.FindByIdAsync(roleId, cancellationToken)); }