Skip to Content
Mar 20, 2019 at 01:18 PM

Deleting a Model goes into AfterSaveEvent.


I have a custom AfterSaveEvent [Create and Update] which checks if the model being saved is an instance of B2BUnit if yes then it performs some action, but when I delete a B2Bcustomer the control comes to this event and for some reason, the object is an instance of b2bUnit and it performs the action. Can someone explain?