private void GetAllPatrolsAroundPoint() { var client = new ServiceLayerClient(); var task = client.GetNearByPatrolsByLatLonAsync(Longitude, Latitude, 5); var obs = task.ToObservable(); obs.Subscribe((x) => AddNearPatrols(x == null ? new List <PatrolLastLocationDTO>() : x.ToList())); }