Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Interestig @t3chb0t, in fact I had thought of using reflection, but since I only need a subset of the properties made me change my mind, hovewer if I map the model on a view model the problem would cease to exist. Good idea. Thank you.