How to get container of model in EditorTemplate, ASP.NET Core 8.0
I’m looking for possibility to retrieve container in EditorTemplate
(ASP.NET Core 8.0).
How to trigger method on button click in ASP.NET Core Razor Pages?
I am developing a web application using ASP.NET Core Razor Pages. I want to trigger a Logout method when clicking a button on the page and redirect the user to the login page. However, the Logout method is not being triggered when I click the button.