'Deletes a ViewMenu from the backend
:param name:
name of the ViewMenu'

def del_view_menu(self, name):

    obj = self.find_view_menu(name)
    if obj:
        try:
            self.get_session.delete(obj)
            self.get_session.commit()
        except Exception as e:
            log.error(c.LOGMSG_ERR_SEC_DEL_PERMISSION.format(str(e)))
            self.get_session.rollback()
