Skip to content

Instantly share code, notes, and snippets.

@AbubakarSiddiq
Created December 21, 2016 21:32
Show Gist options
  • Save AbubakarSiddiq/ca2c9ea7b07e24bb8e37ffa7740f72ef to your computer and use it in GitHub Desktop.
Save AbubakarSiddiq/ca2c9ea7b07e24bb8e37ffa7740f72ef to your computer and use it in GitHub Desktop.
[HttpPost]
public ActionResult PostAction()
{
return View("Index");
}
[HttpPut]
public ActionResult PutAction()
{
return View("Index");
}
[HttpDelete]
public ActionResult DeleteAction()
{
return View("Index");
}
[HttpHead]
public ActionResult HeadAction()
{
return View("Index");
}
[HttpPatch]
public ActionResult PatchAction()
{
return View("Index");
}
[HttpOptions]
public ActionResult OptionsAction()
{
return View("Index");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment