public function getDestroy($id) { ContentType::destroy($id); return back()->withMsg("Материал успешно удален"); }