Esempio n. 1
0
 public GeoInformationDto Get()
 {
     this._diagnosticsTracingService.Trace(TraceLevel.Debug, $"GeoLocationController.Get");
     var geoinfo = _geoIpService.Get(HttpContext.Current.Request.UserHostAddress);
     var result = this._objectMappingService.Map<GeoInformation, GeoInformationDto>(geoinfo);
     return result;
 }