public static void PullPublicLeagueEvents(string leagueId, Action<EventsJson> callback)
        {
            var webClient = new WebClient();
            webClient.DownloadStringCompleted += (sender, e) =>
            {
                try
                {
                  var data=  Json.DeserializeObject<EventsJson>(e.Result);
                  callback(data);
                    foreach (var ev in data.Events)
                    {
                        var sql = new SqlFactory();
                        var temp = sql.GetCalendarEvent(leagueId, ev.CalendarItemId);
                        if (temp == null)
                        {
                            sql.InsertCalendarEvent(new SqlCalendarEvent()
                               {
                                   Address = ev.Address,
                                   CalendarItemId = ev.CalendarItemId,
                                   EndDate = ev.EndDate,
                                   Location = ev.Location,
                                   Name = ev.Name,
                                   NameUrl = ev.NameUrl,
                                   StartDate = ev.StartDate,
                                   LeagueId = ev.LeagueId.ToString().Replace("-", "")
                               });
                        }
                    }
                    
                }
                catch (Exception exception)
                {

                }
            };
            webClient.Encoding = System.Text.Encoding.UTF8;
            webClient.DownloadStringAsync(new Uri(MobileConfig.GET_LEAGUE_EVENTS_BY_LEAGUEID_URL + "lid=" + leagueId));


        }