public IActionResult GetTopRatedFilms(int n)
 {
     return(new ObjectResult(FilmAnalytics.topRatedFilms(n)));
 }
 public IActionResult GetAverageRateByGenres()
 {
     return(new ObjectResult(FilmAnalytics.averageRateByGenres()));
 }
 public IActionResult GetAverageFilmRate()
 {
     return(new ObjectResult(FilmAnalytics.averageFilmRate()));
 }
 public IActionResult GetMedianFilmResult()
 {
     return(new ObjectResult(FilmAnalytics.medianFilmRate()));
 }
 public IActionResult GetWorstRateFilms(int n)
 {
     return(new ObjectResult(FilmAnalytics.worstRatedFilms(n)));
 }