public function update($id) { Order::updateOrder($id); Product::updateStockProduct($id); parent::redirectTo('indexOrder'); }