예제 #1
0
 // Method that returns the movies that starts with the genre Horror from the DalManager.
 #region Method SearchGenre.
 public static List <Film> SearchGenre(string genre)
 {
     // Calling the method from DalManager.
     return(DalManager.SearchGenre(genre));
 }
예제 #2
0
 // Method that returns the actors with an S from the DalManager.
 #region Method SearchActors.
 public static List <Actor> SearchActor(string letter)
 {
     // Calling the method from DalManager.
     return(DalManager.SearchActor(letter));
 }
예제 #3
0
 //Method that returns the actors from the DalManager.
 #region Method ReturnActors.
 public static List <Actor> ReturnActors()
 {
     // Calling the method from DalManager.
     return(DalManager.GetActors());
 }
예제 #4
0
 // Method that returns the movies that starts with an specific letter, in this case an A from the DalManager.
 #region Method SearchFilm.
 public static List <Film> SearchFilm(string letter)
 {
     // Calling the method from DalManager.
     return(DalManager.SearchFilm(letter));
 }
예제 #5
0
 public static List <Film> ReturnFilmsNoGenre()
 {
     // Calling the method from DalManager , now this method can be called from Main.
     return(DalManager.GetFilmsNoGenre());
 }