-property">@requestAndRefresh</span> <span class="hljs-string">'update'</span>, params

  <span class="hljs-attribute">destroy</span>: <span class="hljs-function"><span class="hljs-params">(id)</span> -&gt;</span>
    <span class="hljs-property">@checkUndefinedId</span>(<span class="hljs-string">'destroy'</span>, id)
    <span class="hljs-property">@requestAndRefresh</span> <span class="hljs-string">'destroy'</span>, <span class="hljs-attribute">id</span>: id</div></div></div><div class="segment"><div class