private FilmSearchBuilder AddFromDurationFilter(float?durationFrom)
 {
     Filter = PredicateBuilder.And(Filter, film => (durationFrom > 0) ? film.DurationTime > durationFrom : true);
     return(this);
 }
 private FilmSearchBuilder AddFilmMakerNameFilter(string filmMakerNamePart)
 {
     Filter = PredicateBuilder.And(Filter, film => film.Filmmaker.ToLower().StartsWith(filmMakerNamePart.ToLower()));
     return(this);
 }
 private FilmSearchBuilder AddToDurationFilter(float?durationTo)
 {
     Filter = PredicateBuilder.And(Filter, film => (durationTo > 0) ? film.DurationTime < durationTo : true);
     return(this);
 }
 private FilmSearchBuilder AddNameFilter(string namePart)
 {
     Filter = PredicateBuilder.And(Filter, film => film.Name.ToLower().StartsWith(namePart.ToLower()));
     return(this);
 }