Ejemplo n.º 1
0
 public GeolocationController(
     IGeolocationDataService geolocationDataService,
     IGeolocationService geolocationService,
     IIpAddressValidator ipAddressValidator,
     IGeolocationDataConverter geolocationDataConverter)
 {
     _geolocationDataService   = geolocationDataService;
     _geolocationService       = geolocationService;
     _ipAddressValidator       = ipAddressValidator;
     _geolocationDataConverter = geolocationDataConverter;
 }
 public GeolocationService(IGeolocationDataRepository geolocationDataRepository, IGeolocationDataConverter geolocationDataConverter)
 {
     _geolocationDataRepository = geolocationDataRepository;
     _geolocationDataConverter  = geolocationDataConverter;
 }