implement all TODO tasks

This commit is contained in:
2026-05-03 00:42:39 +04:30
parent d25e0a1779
commit cd88bc7096
3 changed files with 173 additions and 9 deletions
+4 -3
View File
@@ -22,15 +22,16 @@ public class Main {
case 2:
// TODO: Get genre ID and page from user, then call movieService.displayMoviesByGenre()
long generId = getLongInput("Enter the ID: ");
long genreId = getLongInput("Enter the genre ID: ");
long page = getLongInput("Enter the page: ");
movieService.displayMoviesByGenre(generId, page);
movieService.displayMoviesByGenre(genreId, page);
break;
case 3:
// TODO (BONUS): Get movie ID from user, then call movieService.displayMovieDetails()
long movieId = getLongInput("Enter the movie ID: ");
movieService.displayMovieDetails(movieId);
break;