I looking for help with C# (cshtml) if statement, to display paragraph on only homepage site, like in php.
<?php if ($_SERVER['REQUEST_URI']=='/') { echo('<p>something</p>'); } ?>
Thanks in advance
Aucun commentaire:
Enregistrer un commentaire