public async Task <ActionResult> GetAccountsAsync() { try { var accounts = await _accountQueries.GetAccountsAsync(); _logger.LogInformation("GetAccountAsync"); return(Ok(accounts)); } catch { return(NotFound()); } }