Example #1
0
 public IActionResult Index()
 {
     return(View(_repositoryMovie.ListAllMovies()));
 }
Example #2
0
 public IActionResult ShowMovies()
 {
     return(View(movieRepository.ListAllMovies()));//show all movies in home page
 }