title: How to RESTful delete record Asp.Net Mvc 2
body: <p>I have delete links in my Asp.Net Mvc2 application.<br>
  /{controller}/Delete/{id}</p>
  
  <p>It seems using link to delete has a security risk. <a href="http://stephenwalther.com/blog/archive/2009/01/21/asp.net-mvc-tip-46-ndash-donrsquot-use-delete-links-because.aspx" rel="nofollow noreferrer">Don’t use Delete Links because they create Security Holes</a></p>
  
  <p>I found this <a href="http://dotnetslackers.com/articles/aspnet/implementing-restful-routes-and-controllers-in-asp-net-mvc-2-0.aspx" rel="nofollow noreferrer">Implementing RESTful Routes &amp; Controllers in ASP.NET MVC 2.0</a> but I am not sure how to implement a simple delete functionality using the new HttpDeleteAttribute class.</p>
  
  <p>Are there any examples on deleting, the RESTful approach?</p>