add require method by ID and by SLUG
add setError method in entity using for custom error message
add parameter is_permanent in method delete at core Repository
fix media CRUD