protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
            if (e.NavigationMode == NavigationMode.Back) return;
            string id;
            if (NavigationContext.QueryString.TryGetValue("id", out id))
            {
                var request = new GetImagesOfAnimeRequest(id);
                request.ProcessSuccessfully += (data) =>
                {
                    var images = (ImagesJson)data;
                    if (data == null || images == null) return;
                    Dispatcher.BeginInvoke(() =>
                    {
                        for (int i = 0; i < images.Count; i += 2)
                        {
                            var lControl = new ImageControl(images._content[i]);
                            LeftPanel.Children.Add(lControl);
                            if ((i + 1) == images.Count) break;
                            var rControl = new ImageControl(images._content[i + 1]);
                            RightPanel.Children.Add(rControl);
                        }
                    });

                };
                GlobalVariables.WorkerRequest.AddRequest(request);
            }
        }
        public void GetImages(string id)
        {
            var request = new GetImagesOfAnimeRequest(id);
            request.ProcessSuccessfully += (data) =>
            {
                var images = (ImagesJson)data;
                if (data == null || images == null) return;
                Deployment.Current.Dispatcher.BeginInvoke(() =>
                {
                    for (int i = 0; i <10; i ++)
                    {
                        var lControl = new ImageControl(images._content[i]);
                        _listImages.Add(lControl);
                    }
                    //Loading.Visibility = Visibility.Collapsed;
                });

            };
            GlobalVariables.WorkerRequest.AddRequest(request);
        }