title: Entity framework Modify multiple records with common data
body: <p>I have an "Apps" Table which consists of multiple apps data
  Now I wanted to delete (soft delete means making isDelete = true) </p>
  
  <p>I'm deleting records by the following code.</p>
  
  <pre><code>var deletingISVCSPRecord = await db.ISVCSP.Where(s =&gt; s.BeneficiaryId == beneficiaryId).ToListAsync();
  foreach (var item in deletingISVCSPRecord)
  {
      item.IsDeleted = true;
      await db.SaveChangesAsync();
  }
  </code></pre>
  
  <p>is there any good way to do this.</p>
  
  <p>Appreciate your help.</p>