What do you do if you want to have a “summary” version of the same model, with the summary being the super class of the full model? I’ve got issues with constructor parameters not being properties etc
ribesg
10/23/2019, 9:46 AM
I mean I can have to separated models with one containing all the properties of the other but it feels like duplicating code
ribesg
10/23/2019, 9:52 AM
I did it by putting the “shared” properties in an interface implemented by both models, but I don’t like it. I’ve got an interface and a class with the exact same list of properties