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