Beispiel #1
0
 /// <summary>
 /// The <c>GetMovie()</c> method receives a certain movie's id as a parameter from the presenter and executes the
 /// repository's method which is responsible of getting a certain movie from the database by its id.
 /// </summary>
 /// <param name="id">This is the id of the movie.</param>
 /// <returns>This method returns a tuple from a movie object and its genre in words (string).</returns>
 public Tuple <Movie, string> GetMovie(int id)
 {
     return(movie_repo.GetMovie(id));
 }