Question

I have a custom table in the custom module, Which is used to save some customer data in the sales_order_after events in the observer. I want to know how to save the data using the Repository method.

How can I inject the repository method to my observer? The question is a little bit vast and tried several ways and no success, Please help me.

Pas de solution correcte

Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top