delete data in both controllers