예제 #1
0
            public void Collect()
            {
                try
                {
                    if (MovieNode != null)
                    {
                        ParsedMovie = (Movie)MovieNode.RowObject;
                    }

                    var movie = MovieController.CollectAndAddMovieToDb(ParsedMovie, Html, FetchKeyword);
                    if (MovieNode != null && movie != null)
                    {
                        MovieController.UpdateMovieNode(MovieNode, movie);
                    }
                }
                catch (Exception exception)
                {
                    MessageBox.Show(@"Problem Collecting Information.", exception.Message);
                }
            }