internal void ShowContributors(Role role)
        {
            AbstractPersonRepository     pRepo  = _personRepository;
            AbstractFilmPersonRepository fpRepo = _filmPersonRepository;
            List <Guid>   ids   = fpRepo.ListPersonIdsForilmIdAndRole(CurrentFilm.Id, role);
            List <string> names = new List <string>();

            foreach (Guid id in ids)
            {
                Person p = pRepo.GetById(id);
                names.Add(p.FullName);
            }
            if (names.Count > 0)
            {
                StringChooser chooser = new StringChooser(names);
                chooser.Show();
            }
            else
            {
                string[] contribkind = { "contributors", "actors", "composers", "directors", "scriptwriters" };

                string kind = contribkind[(int)role];

                ReportIt("There are (as yet) no " + kind + " defined for this film");
            }
        }
        private List <Person> GetContributors(Role role)
        {
            List <Person> result = new List <Person>();
            AbstractFilmPersonRepository fpRepo = _view.FilmPersonRepository;
            AbstractPersonRepository     pRepo  = _view.PersonRepository;
            List <Guid> ids = fpRepo.ListPersonIdsForilmIdAndRole(Film.Id, role);

            foreach (Guid id in ids)
            {
                Person p = pRepo.GetById(id);
                result.Add(p);
            }
            return(result);
        }