The logic that we will use to eliminate posts is very similar to the one we use to edit components. From the post component, which is responsible for showing each of the posts that the user has created, an event will trigger when the elimination icon is clicked.
This event will cause that in the class of the component, a method will be executed that will send the selected post to the Common Service. This will perform some operations with said post and issue a notification. ...