public static void CreateVektisCodes(List <string> indexLinks) { var links = MyHttpClient.GetLinksByHRef(VektisCodes, "COD", ""); foreach (var link in links) { var excelLink = MyHttpClient.GetLinkByHRef(link, "xls", ""); VektisCodeProvider.Convert(excelLink, indexLinks); } }
public static void CreateDeclarationCodes(List <string> indexLinks) { var httpLinks = MyHttpClient.GetLinksByHRef("https://tog.vektis.nl/WebInfo.aspx?ID=Prestatiecodelijsten", "/Bestanden", "/Bestanden"); foreach (var httpLink in httpLinks) { DeclarationCodeProvider.Convert(httpLink, indexLinks); CalculationCodeProvider.Convert(httpLink, indexLinks); } }