function action_remove() { PermissionHelper::Verification('Editor'); $tovarId = $_GET['tovarId']; ProductService::Delete(ProductService::GetById($tovarId)); header("Location: /product/itemadmin"); }
function action_remove() { PermissionHelper::Verification('Editor'); $tovarId = $_GET['tovarId']; ProductService::Delete(ProductService::GetById($tovarId)); header("Location: /product/itemadmin"); }