public CuandoPasa() { InitializeComponent(); UserMobileLocation taskCuandoPasa = ApiRest.GetAsyncFormData <UserMobileLocation>((string)App.Current.Resources["URLUserLocation"] + App.PlayerId).Result; var url = new UrlWebViewSource { Url = (string)Application.Current.Resources["URLCuandoPasa"] + "?lat=" + taskCuandoPasa.Lat + "&long=" + taskCuandoPasa.Lon + "&fa=" + GetActualDateJsonFormated() }; wAreas.Source = url; }
public HttpResponseMessage GetUserLocation(string playerId) { UserMobileLocation userLocation = userSvc.GetLocationMobile(playerId); return(Request.CreateResponse(HttpStatusCode.OK, userLocation)); }