://api.emberjs.com/ember-data/3.20/classes/Model/methods/deleteRecord?anchor=deleteRecord"><code>deleteRecord()</code></a>
on any instance of <code>Model</code>. This flags the record as <code>isDeleted</code>. The
deletion can then be persisted using <code>save()</code>. Alternatively, you can use
the <a href="https://api.emberjs.com/ember-data/3.20/classes/Model/methods/destroyRecord?anchor=destroyRecord"><code>destroyRecord</code></a> method to delete and persist at the same time.</p>
<pre class="languag