Skip to content

Instantly share code, notes, and snippets.

@scottaddie
Created March 3, 2018 16:46
Show Gist options
  • Save scottaddie/f4261ee8cbdc80a30661288241daaa80 to your computer and use it in GitHub Desktop.
Save scottaddie/f4261ee8cbdc80a30661288241daaa80 to your computer and use it in GitHub Desktop.
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