コード例 #1
0
        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);
        }
コード例 #2
0
 public async Task DeleteCelebrityInformation(celebrityModel celebrityModel)
 {
     await this.celebrityModelTable.DeleteAsync(celebrityModel);
 }
コード例 #3
0
 public async Task PostCelebrityInformation(celebrityModel celebrityModel)
 {
     await this.celebrityModelTable.InsertAsync(celebrityModel);
 }