public CSV_Tests_Property() { 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 HomesController(IFindProperty findProperty) { _findProperty = findProperty; }