public async void Init() { await Task.Run(() => { var list = JobProvider.GetAllJobList(); if (null != list) { //var cacheOpenAreas = CacheCollection.OpenAreaCache.Value(); //var openAreas = cacheOpenAreas.Select(p => p.AreaID).ToList(); foreach (var item in list) { Update(item); } } }); }