I know I can rely on the system to automatically show SummerLineUp into "Summer Line Up" but I want more control on the displayed texts for my enums.
So I would like to use the Describe attribute for friendlier displays like so:
public enum ProductTypeOptions
{
[Describe("Summer line up")]
ProductA = 1,
[Describe("Fall line up")]
ProductB = 2,
[Describe("Winter line up")]
ProductC = 3,
}
Those show nice and pretty but fails during validation with "Summer line up is not a valid Product Type option".
Is there a different attribute I can use?