示例#1
0
 protected override string GetCacheKey(GetGamesByAccountQuery request)
 {
     return(string.Concat(CacheConstants.AccountGameCacheBucketKey, request.AccountId));
 }
示例#2
0
 protected override async Task <IImmutableList <GetGameDto> > ExecuteAsync(GetGamesByAccountQuery request, CancellationToken ct)
 {
     return(await _gameService.GetGameByAccountIdAsync(request.AccountId, ct));
 }