Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Index page model in an ASP.NET Core 2.x Razor Pages app
public class IndexModel : PageModel
{
public void OnGet()
{
}
public void OnPost()
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.