Skip to content

Instantly share code, notes, and snippets.

@ciriarte
Created November 10, 2011 21:40
Show Gist options
  • Save ciriarte/1356330 to your computer and use it in GitHub Desktop.
Save ciriarte/1356330 to your computer and use it in GitHub Desktop.
Jelpin Maik
public class MikeController : Controller
{
// try http://localhost:someport/mike/is/awesome
[AcceptVerbs("POST")]
public ActionResult Is(String howIsMike)
{
// blablabla
return View();
}
// try http://localhost:someport/mike/is/awesome
[AcceptVerbs("GET")]
public ActionResult Is()
{
// blablabla
return View();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment