public CSV_Test_Address() { CSVAppSettings cSVApp = new CSVAppSettings(); string dirPath = Assembly.GetExecutingAssembly().Location; dirPath = Path.GetDirectoryName(dirPath); cSVApp.AddressCSVFilePath = $@"{dirPath}\OurAddresses.CSV"; _findAddress = new CSVService(cSVApp); }
public HomesController_Test() { CSVAppSettings cSVApp = new CSVAppSettings(); string dirPath = Assembly.GetExecutingAssembly().Location; dirPath = Path.GetDirectoryName(dirPath); cSVApp.AddressCSVFilePath = $@"{dirPath}\OurAddresses.CSV"; cSVApp.PropertyCSVFilePath = $@"{dirPath}\OurPropertis.CSV"; _findProperty = new CSVService(cSVApp); }
public CSVService(CSVAppSettings appSettings) { _appSettings = appSettings; }