How to do DML when using Lightning Web Component for Quick Action in Salesforce?

Sample Code: Apex Class: Lightning Web Component: HTML: JavaScript: JS-meta.xml: