async Task postLocationAsync()
        {
            var locator = CrossGeolocator.Current;

            locator.DesiredAccuracy = 50;

            var position = await locator.GetPositionAsync(10000);

            NotaMobileModel model = new NotaMobileModel()
            {
                Longitude = (float)position.Longitude,
                Latitude  = (float)position.Latitude
            };

            await AzureManager.AzureManagerInstance.PostMobileInformation(model);
        }
Example #2
0
 public async Task PostMobileInformation(NotaMobileModel notMobileModel)
 {
     await this.notMobileTable.InsertAsync(notMobileModel);
 }