This commit is contained in:
2026-07-19 05:33:55 +03:30
parent 5473658dc8
commit 253afe8097
4 changed files with 320 additions and 70 deletions
+19 -2
View File
@@ -21,17 +21,34 @@ public class Main {
break;
case 2:
// TODO: Get genre ID and page from user, then call movieService.displayMoviesByGenre()
Long genreId =
getLongInput("Enter genre ID: ");
Long page =
getLongInput("Enter page number: ");
movieService.displayMoviesByGenre(
genreId,
page
);
break;
case 3:
// TODO (BONUS): Get movie ID from user, then call movieService.displayMovieDetails()
Long movieId =
getLongInput("Enter movie ID: ");
movieService.displayMovieDetails(movieId);
break;
case 0:
running = false;
System.out.println("Goodbye!");