title: Table is not refreshing after delete in asp.net mvc
body: <p>I did delete operation in mvc 4 using jquery. If i click delete button I just set Isactive =0 for particular column.  </p>
  
  <p><strong>Jquery</strong></p>
  
  <pre><code> $('.btnDelete').live("click", function () {
  
              var didconfirm = confirm("Are you sure ?");
              debugger;
              if (didconfirm == true)
              {
                  var emaildata = $(this).closest('td').siblings(':first-child').text();
  
                  $.ajax({
                      type: "post",
                      url: "/Home/delete",
                      contentType: "application/json; chatset=utf-8",                    
                      //data: "{ 'EmailId' : '" + $(this).attr("data-member") + "'}",
                      data: "{ 'EmailId' : '" + emaildata + "'}",
                      confirm: "Need to delete this",
                      onSuccess: "deleteConfirmation",
                      success: function (data) {
                          alert("Record deleted Successfully");                        
  
                      }
                  });
              }
          });
  </code></pre>
  
  <p><strong>Action Code</strong></p>
  
  <pre><code> [HttpPost]
          public ActionResult delete(string EmailId)
          {
              var linq = (from db in userobject.UserTables
                          where EmailId==db.EmailId
                          select db).FirstOrDefault();
              if (linq.EmailId == EmailId)
              {
                  linq.IsActive = false;
                  UpdateModel(linq);
                  userobject.SaveChanges();
  
  
              }
  
              return RedirectToAction("Home");
          }
  </code></pre>
  
  <p>This opeartion working fine but my page shows same record while i click some other functions.How to Remove the deleted records when i click the delete function. Thanks in advance.</p>