def METHOD_NAME(self, params: dict) -> dict:
    # Grab the applet object and delete it from the database
    applet = Dashboard.objects.get(pk=params["id"])
    html_file = applet.html_file
    applet.delete()
    # Delete the correlated file
    path = os.path.join(settings.MEDIA_ROOT, html_file.name)
    self.safe_delete(path=path)
    msg = "Registered applet deleted successfully!"
    return {"message": msg}