private async void Monitor_MovieRemoved(string path)
 {
     using (var repos = new RepositoryService())
     {
         var movie = repos.FindMovieAtPath(path);
         if (movie != null)
         {
             var model = Movies.Where(m => m.MovieId.Equals(movie.MovieId)).FirstOrDefault();
             if (model != null)
             {
                 model.IsEnabled = false;
                 await movieDispatcher.UnregisterMovie(model.MovieId, Movies);
             }
         }
     }
 }
        private void ChangeMovieName(string oldPath, string path)
        {
            using (var repos = new RepositoryService())
            {
                var movie = repos.FindMovieAtPath(oldPath);

                if (movie != null)
                {
                    movie.Path = path;
                    repos.UpdateMovie(movie);

                    var model = Movies.Where(m => m.MovieId == movie.MovieId).FirstOrDefault();
                    if (model != null)
                    {
                        model.Path = path;
                    }
                }
            }
        }