Hi everyone, I’m kinda new to this, and I have a question.
I’m doing a site, where I need to have clients and organizations, so I created a model User where you need to insert some specific things. One of those is to specify if it’s a particular user or a organization and I wanted to have, in case of being a organization the name.
How is the proper way to do that?
Thanks in advance ^^
So you have a user that can be a person or an organization? Super class the common functionality or make two separate models. IMO
But how you can do that, I was thinking about having a property org_name, that would be availiable in the view if you chose Organization in the type of user but don’t really know if I can do it that way or how to do it 😛
C# devs
null reference exceptions