Example #1
0
File: Review.cs Project: vitoth/Zav
 public Review(User user, string text, Movie movie)
 {
     this.text = text;
     this.user = user;
     this.movie = movie;
     //Prilikom stvaranje recenzije, konstruktoru recenzije treba proslijediti 
     //registriranog korisnika,referencu na film te tekst recenzije
 }
Example #2
0
 public FilterReviewByMovie(Movie movie)
 {
     this.movie = movie;
 }
Example #3
0
 public bool Pass(Movie movie)
 {
     return movie.genre == this.genre;
 }
Example #4
0
 public bool Pass(Movie movie)
 {
     return movie.director == this.director;
 }