public async Task <Organization[]> GetByQueryAsync(string query) { var cachedOrgs = await CacheRepository.FindByQuery(query); if (cachedOrgs.Any()) { return(cachedOrgs); } await UpsertAsync(query, findById : false); return(await CacheRepository.FindByQuery(query)); }