예제 #1
0
        private async Task UploadDataToCloud(UserLocation userLocation)
        {
            try
            {
                await webclient.Login();

                var id = await webclient.SendUserLocation(userLocation);

                Debug.WriteLine($"Uploaded to web server: {id}");
            }
            catch (Exception ex)
            {
                Debug.WriteLine(ex);
            }
        }