public void ExportDataForCustomers(IEnumerable <string> customers) { var exporter = new PageXmlExport_1("{0}_{1}_{2}", true, 10, true); foreach (var customer in customers) { exporter.ExportCustomerPage(customer); } }
public void ExportDataForCustomers(IEnumerable <string> customers) { var exporter = new PageXmlExport_1("{0}_{1}_{2}", true, 10, true); ICrmService crmService = ServiceLocator.Current.GetInstance <ICrmService>(); ILocationService locationService = ServiceLocator.Current.GetInstance <ILocationService>(); foreach (var customer in customers) { PageData userInput = GetUserInput(customer); exporter.ExportCustomerPageWithExternalData(customer, userInput, crmService, locationService); } }