public async Task <IList <CharmCategoryDto> > Handle(GetCharmCategoriesWithCharmsQueryModel request, CancellationToken cancellationToken)
        {
            var userType = contextAccessor.HttpContext.User.GetUserType();
            var result   = await cache.GetOrCreateAsync(CacheKey.CharmCategoriesList, s => charmCategoryQueryService.GetAsync(), userType);

            return(result);
        }
 public async Task <CharmCategoryDto> Handle(GetCharmCategoryWithCharmsQueryModel request, CancellationToken cancellationToken)
 => await charmCategoryQueryService.GetAsync(request.Id);