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); }
public async Task PostHotDogInformation(NotHotDogModel notHotDogModel) { await this.notHotDogTable.InsertAsync(notHotDogModel); }