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