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())); }