public ActionResult <TrafficIntensityVM> GetIntensityWithAccuracy(double latitude, double longitude, int accuracy) { var localization = new PlaceLocalization( new Coordinate(latitude, longitude) ); return(TrafficMapper.TrafficIntensityToViewModel( _Integrator.GetTrafficIntensityWithAccuracy(localization, accuracy) )); }
public ActionResult <TrafficIntensityVM> GetIntensity() { return(TrafficMapper.TrafficIntensityToViewModel( _Integrator.GetTrafficIntensity() )); }