AFAIK, the Asp.net Web Pages model only supports a single form post per page. The user input is taken in with:
if (isPost)
{
// code to capture form input
}
However, is it possible to have Asp.net Web Pages behave more like Rails in allowing multiple actions (methods) per page?
I would like to be able to have a user click a button (posting to the same page) which deletes a given record in a db and then refreshes the same page.