I have a database generated model with an int property (not list or anything fancy). Trying to map this property to 2 checkboxes that represent "contact method".
- text, 2. email, or both, and read this as a single number in the DB column 1, 2 or 3 for both.
Tried setting the values in regular html inputs and using @html.checkboxfor(x => x.boolproperty), what I can't figure out is how to get a value from both checkboxes.