Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 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());
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 5
0
 public static List <Film> ReturnFilmsNoGenre()
 {
     // Calling the method from DalManager , now this method can be called from Main.
     return(DalManager.GetFilmsNoGenre());
 }