Problem solved.
Since I use content function with <text></text> to render body, I need to use razor engine in each helper.
I can't based on surrounding it like I did with my condition:
@if (Model != null)
{
}
Thank you.
Problem solved.
Since I use content function with <text></text> to render body, I need to use razor engine in each helper.
I can't based on surrounding it like I did with my condition:
@if (Model != null)
{
}
Thank you.