Profile page finished
This commit is contained in:
@@ -24,12 +24,16 @@ public class MovieRatedResponse : MovieResponse, IQueryOrderable<MovieRatedRespo
|
||||
{ "budget", x => x.Budget },
|
||||
{ "rating.average", x => x.Rating.Average },
|
||||
{ "rating.count", x => x.Rating.Count },
|
||||
{ "user_rating", x => x.UserRating }
|
||||
{ "user_rating", x => x.UserRating },
|
||||
{ "user_rating_date", x => x.UserRatingDate }
|
||||
};
|
||||
|
||||
[JsonPropertyName("user_rating")]
|
||||
public short UserRating { get; set; }
|
||||
|
||||
[JsonPropertyName("user_rating_date")]
|
||||
public DateTime UserRatingDate { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -54,6 +58,7 @@ public class MovieRatedResponse : MovieResponse, IQueryOrderable<MovieRatedRespo
|
||||
.Build();
|
||||
Genres = mediaMovie.Media.Genres.Select(x => new GenreResponse(x)).ToList();
|
||||
UserRating = response.Rating;
|
||||
UserRatingDate = response.Date;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user