Profile page finished
This commit is contained in:
@@ -73,6 +73,15 @@ public class MovieRatedQueryParameters : QueryParameters<MovieRatedResponse>
|
||||
[FromQuery(Name = "user_rating_to")]
|
||||
public decimal? UserRatingTo { get; set; }
|
||||
|
||||
[FromQuery(Name = "user_rating_date")]
|
||||
public DateOnly? UserRatingDate { get; set; }
|
||||
|
||||
[FromQuery(Name = "user_rating_date_from")]
|
||||
public DateOnly? UserRatingDateFrom { get; set; }
|
||||
|
||||
[FromQuery(Name = "user_rating_date_to")]
|
||||
public DateOnly? UserRatingDateTo { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -98,6 +107,8 @@ public class MovieRatedQueryParameters : QueryParameters<MovieRatedResponse>
|
||||
TestContains(Genres, item.Genres.Select(x => x.Id))
|
||||
&&
|
||||
TestComparable((decimal)item.UserRating, UserRating, UserRatingFrom, UserRatingTo)
|
||||
&&
|
||||
TestComparable(item.UserRatingDate, UserRatingDate, UserRatingDateFrom, UserRatingDateTo)
|
||||
);
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user