public IndexModel(IMatchingConfiguration configuration, ILocationReader locationReader, IPostcodeImporter postcodeImporter) { _configuration = configuration; _locationReader = locationReader; _postcodeImporter = postcodeImporter; GoogleMapsApiKey = configuration.GoogleMapsApiKey; }
public App(IPostcodeImporter postcodeImporter, ILocationWriter locationWriter) { _postcodeImporter = postcodeImporter; _locationWriter = locationWriter; }