title: Can I add server side event handler to a link in Razorpages
body: <p>I have a bounch of links in Razorpages which is used to change status on an entry in SQL using EF.</p>
  
  <pre><code>&lt;a&gt;Set status 1&lt;/a&gt;
  &lt;a&gt;Set status 2&lt;/a&gt;
  &lt;a&gt;Set status 3&lt;/a&gt;
  </code></pre>
  
  <p>I don't want to create one action for each status in my model, and do not want to add any routing. When clicking the status link it should run my C# code and return to the same page.</p>
  
  <p>Is it possible to trigger an action inline in razorpages without adding a page-handler? (i.e adding a server side event handler to the links which execute the inline code)</p>