I will be displaying some results that will be either 0 or 1 in my MVC 4 application. I would like for them to display either yes (1) or no (0). Is there an annotation I can add to my fields to do that? Or do I have to do that in the view somehow…
Share
In the model, add a backing field and specify the getter for the property