title: c# How to show a popup with an <a> to confirm they want to perform the asp-action
body: <p>So i have this a tag and this deletes an event now i want it to show a popup to make sure that they actually want to delete it. 
  this is my  tag             </p>
  
  <pre><code>&lt;a asp-area="User" asp-controller="MyEvent" asp-action="Delete" asp-route-id="@item.EvenementId" class="btn mijnevent-btn btn-secondary"&gt;&lt;i class="fas fa-trash-alt"&gt;&lt;/i&gt;&lt;/a&gt;
  </code></pre>
  
  <p>This is the action that's happening</p>
  
  <pre><code>var eventToDelete = _context.Evenementen.Where(me =&gt; me.EvenementId == id).SingleOrDefault(); //vind het event
              _context.Evenementen.Remove(eventToDelete); //verwijdert het event
              _context.SaveChanges(); //saved alles
  
              return RedirectToAction(nameof(Index));
  </code></pre>