Jump to content

Recommended Posts

Posted

I've added two methods to ApiClient to set ratings:

 

ClearUserItemRatingAsync

 

UpdateUserItemRatingAsync - based on like/dislike

 

In the domain model we're using a numeric value for storage. This will allow us to switch to numeric if we ever want to, or perhaps even provide a setting. I initially went the route of making it a user setting, but I removed it because of the extra work that would be required by ui developers. We can always think about this again later.

Posted

Please note that this data is not currently persisted. It will only live for the life of the server session.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...