Beispiel #1
0
 public void OnPost()
 {
     Movies = MovieDatabase.All;
     if (search != null)
     {
         Movies = MovieDatabase.Search(Movies, search);
     }
     if (rating.Count != 0)
     {
         Movies = MovieDatabase.Rating(Movies, rating);
     }
     if (minIMDB != null)
     {
         Movies = MovieDatabase.MinSearch(Movies, (float)minIMDB);
     }
     if (maxIMDB != null)
     {
         Movies = MovieDatabase.MaxSearch(Movies, (float)maxIMDB);
     }
 }