SyntaxFix
Write A Post
Hire A Developer
Questions
Every time you use html syntax you have to start the next razor statement with a @. So it should be @if ....