I was curious what is the best approach to shared libraries/models for a restful Api and Blazor frontend?
I was going down the route of creating separate models for both, but I understand that they could be shared. Is there any specific way of handling this, or should I keep them separate?
API Models:enter image description here
Blazor Models:enter image description here
Thanks for any help or suggestions. Obviously, I can keep going the route I am going, but it seems tedious to keep track of both sets of models.
I mentioned above what I have been doing. I am curious what other people would suggest in terms of sharing model libraries.