async Task postLocationAsync() { var locator = CrossGeolocator.Current; locator.DesiredAccuracy = 50; var position = await locator.GetPositionAsync(TimeSpan.FromSeconds(10)); ShoeModel model = new ShoeModel() { Longitude = (float)position.Longitude, Latitude = (float)position.Latitude }; await AzureManager.AzureManagerInstance.PostHotDogInformation(model); }
public async Task DeleteHotDogInformation(ShoeModel notHotDogModel) { await this.shoedb.DeleteAsync(notHotDogModel); }
public async Task PostHotDogInformation(ShoeModel ShoeModel) { await this.shoedb.InsertAsync(ShoeModel); }