I declared an enum:
public enum HeightTypes{ Tall, Short}
Now I want to use it on my razor page like this:
@if (Model.Meta.Height == HeightTypes.Tall)
But there's a problem as I get an error. Is there some way I can tell the razor page about my enum?