async void btnAdd_Click(object sender, EventArgs e)
        {
            RedZone redZone = new RedZone();
            redZone.City = staticObjects.City;
            redZone.Country = staticObjects.Country;
            redZone.Description = txtDescription.Text;
            redZone.FacebookID = App.fbUserID;
            redZone.Latitude = coordinate.Latitude;
            redZone.Longitude = coordinate.Longitude;
            redZone.Radius = int.Parse(txtRadius.Text);
            redZone.PartitionKey = (redZone.City + redZone.Country).Replace(" ","");
            redZone.RegisteredAt = DateTime.UtcNow;
            redZone.RowKey = redZone.Latitude.ToString() + redZone.Longitude.ToString();


            bool result = await (this.DataContext as UploadRedZoneViewModel).TryUploadNewRedZone(redZone);
        }
 private void SetSharingContent(RedZone zone, string fbUserName)
 {
     Share.Title = "SmartGuard - Zona peligrosa";
     Share.Description = "Comparte la posicion de tus amigos";
     DateTime date = zone.RegisteredAt;
     Share.Message = String.Format(AppResources.General_RedZoneWarning_Message,zone.Address, fbUserName, zone.Description) + "\n\n Para ver la zona en un mapa, haz click en el siguiente link:\n http://bing.com/maps/default.aspx" +
         "?cp=" + zone.Latitude + "~" + zone.Longitude +
         "&lvl=18" +
         "&style=r";
 }
 public async Task<bool>TryUploadNewRedZone(RedZone redZone)
 {
     return await Queries.TryInsertEntityAsync("RedZone", redZone);
 }
        private void ShareRedZone(RedZone redZone)
        {
            if (redZone != null)
            {
                ShareContent.Title = String.Format("[{0}] - {1}", AppResources.ApplicationTitle, AppResources.General_RedZoneWarning);
                ShareContent.Message = String.Format(
                    AppResources.General_RedZoneWarning_Message,
                    redZone.FbUser.Name,
                    AppResources.Says,
                    redZone.Description);
                ShareContent.Link = new Uri("http://bing.com/maps/default.aspx" +
                    "?cp=" + redZone.Latitude + "~" + redZone.Longitude +
                    "&lvl=18" +
                    "&style=r", UriKind.Absolute);

                NavigationService.Navigate(new Uri("/Views/Share.xaml", UriKind.Relative));
            }
        }