Hi,
Can anyone help to do the below job
Though content is exist I want to show this content (Page) not found for certain condition if this content brows from URL.
Thanks
Sourav
In your controller you can throw a 404 error:
if (true) { throw new HttpNotFoundException(); }
Hi,
Can anyone help to do the below job
Though content is exist I want to show this content (Page) not found for certain condition if this content brows from URL.
Thanks
Sourav