public static void UpdateExternal() { float weight = 1; foreach (Category category in DbHelper.GetAllCategoriesFromDb()) { var sectionsRequests = BuildSectionRequests(weight, category); List <CachedSection> newCachedSections = FetchSections.FetchExternCachedSections(sectionsRequests, mock: true); DbHelper.SaveCachedSections(newCachedSections); } }