We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50adea1 + 102ebab commit 2b7e8f6Copy full SHA for 2b7e8f6
LearningHub.Nhs.WebUI/Services/UserGroupService.cs
@@ -47,8 +47,7 @@ public UserGroupService(
47
public async Task<List<RoleUserGroupViewModel>> GetRoleUserGroupDetailAsync()
48
{
49
var cacheKey = $"{this.contextAccessor.HttpContext.User.Identity.GetCurrentUserId()}:AllRolesWithPermissions";
50
- ////return await this.cacheService.GetOrFetchAsync(cacheKey, () => this.FetchRoleUserGroupDetailAsync());
51
- return await this.FetchRoleUserGroupDetailAsync();
+ return await this.cacheService.GetOrFetchAsync(cacheKey, () => this.FetchRoleUserGroupDetailAsync());
52
}
53
54
/// <inheritdoc />
0 commit comments