示例#1
0
        public async Task <IActionResult> GetCachedAccountInfo(long accountId)
        {
            var accountInfo = await _guestAccountCache.ReadAccountInfoFromCache(accountId);

            return(Ok(accountInfo.AccountInfo));
        }
        public async Task <IActionResult> GetGuestTanks(long accountId)
        {
            var accountInfo = await _guestAccountCache.ReadAccountInfoFromCache(accountId);

            return(Ok(accountInfo.Tanks.AsQueryable()));
        }