async Task postLocationAsync() { var locator = CrossGeolocator.Current; locator.DesiredAccuracy = 50; var position = await locator.GetPositionAsync(TimeSpan.FromSeconds(10)); BigCatorNotModel model = new BigCatorNotModel() { TigerHeight = (float)position.Longitude, LionHeight = (float)position.Latitude }; await AzureManager.AzureManagerInstance.PostBigCatorNot(model); }
public async Task PostBigCatorNot(BigCatorNotModel bigCatorNotModel) { await this.BigCatorNotTable.InsertAsync(bigCatorNotModel); }