Esempio n. 1
0
        private void GetAllRadarsAroundPoint()
        {
            var client = new ServiceLayerClient();
            var task   = client.GetNearByRadarsByLatLonAsync(GeneralLocation.Longitude, GeneralLocation.Latitude);
            var obs    = task.ToObservable();

            obs.Subscribe((x) => AddNearRadars(x == null ? new List <AssetsViewDTO>() : x.ToList()));
        }