예제 #1
0
        async Task postLocationAsync()
        {
            var locator = CrossGeolocator.Current;

            locator.DesiredAccuracy = 50;

            var position = await locator.GetPositionAsync(10000);

            NotHotDogModel model = new NotHotDogModel()
            {
                Longitude = (float)position.Longitude,
                Latitude  = (float)position.Latitude
            };

            await AzureManager.AzureManagerInstance.PostHotDogInformation(model);
        }
예제 #2
0
 public async Task PostHotDogInformation(NotHotDogModel notHotDogModel)
 {
     await this.notHotDogTable.InsertAsync(notHotDogModel);
 }