Exemplo n.º 1
0
        public async Task <IActionResult> SearchRadius([FromQuery] float lat, float lng)
        {
            var trajectories = await _trajectory.SearchRadius(new[] { lat, lng });

            var ships = ToShipModel(trajectories);

            return(Json(new { Data = ships }));
        }