title: Unwanted page refresh after AJAX request that runs SQL
body: <p>On click of a button, I want to delete something from my database. </p>
  
  <p>The following is my click handler.</p>
  
  <pre><code>$('.deleteLesson').click(function () {
      $.get('/Assignment/Modules/DeleteLesson.cshtml?LessonID=' + lessonID,function(data){
      });
  });
  </code></pre>
  
  <p>Inside DeleteLesson.cshtml, I have the following</p>
  
  <pre><code>var db = Database.Open("database");
  db.Query("DELETE FROM Lessons WHERE LessonID=@0", Request.QueryString["LessonID"]);
  </code></pre>
  
  <p>When the <code>$.get</code> runs, the SQL is performed on my database, but it forces a refresh on my original page. I can't figure out why. Through troubleshooting I have discovered it is purely the <code>db.Query</code> line that causes the refresh, and nothing else.</p>
  
  <p>To be clear: I can comment out the db.Query line and it works exactly as I want it to (except it doesn't delete the item)</p>