How to Call the Apex Method Imperatively in Lightning Web Component?
Blog
in Lightning
When we want to control when a method should be invoked (for instance, in response to a button click), we use an imperative method call. …