public void ScalaUpdate() { ScalaConnector scalaConnector = new ScalaConnector(Config.ScalaFactoryConfigPath); IList <ScalaProvider> scalaProvList = scalaConnector.GetProvidersData(); List <Provider> provList = GetAll() as List <Provider>; ScalaUpdate(provList, scalaProvList); }
public void ScalaUpdate(List <int> provIDList, bool markedAll) { ScalaConnector scalaConnector = new ScalaConnector(Config.ScalaFactoryConfigPath); List <Provider> provList = GetProviderList(provIDList, markedAll); List <string> provCodeList = new List <string>(); foreach (Provider provider in provList) { provCodeList.Add(provider.Code); } IList <ScalaProvider> scalaProvList = scalaConnector.GetProvidersData(provCodeList); ScalaUpdate(provList, scalaProvList); }