public void FindAllFilmTest() { List <Film> listFilm = null; listFilm = FilmDAO.FindAll(); Assert.IsNotNull(listFilm); }
public List <Film> ViewListFilmBl() { fdao = new FilmDAO(); List <Film> films = new List <Film>(); films = fdao.FindAll(); return(films); }
public void DisplayDVG() { switch (cmbChoiceDisplay.SelectedValue) { case "Films": List <Film> listFilm = FilmDAO.FindAll(); dgvData.DataSource = listFilm; break; case "Actors": List <Actor> listActor = ActorDAO.FindAll(); dgvData.DataSource = listActor; break; } }