async Task postLocationAsync() { var locator = CrossGeolocator.Current; locator.DesiredAccuracy = 50; var position = await locator.GetPositionAsync(10000); celebrityModel model = new celebrityModel() { Longitude = (float)position.Longitude, Latitude = (float)position.Latitude }; await AzureManager.AzureManagerInstance.PostCelebrityInformation(model); }
public async Task DeleteCelebrityInformation(celebrityModel celebrityModel) { await this.celebrityModelTable.DeleteAsync(celebrityModel); }
public async Task PostCelebrityInformation(celebrityModel celebrityModel) { await this.celebrityModelTable.InsertAsync(celebrityModel); }