function execute() { $id = Request::post('id'); connectionFeedbackModel::create()->where(array('id' => (int) $id))->delete(); connectionFeedbackAnswerModel::create()->where(array('ticket' => (int) $id))->delete(); }
function execute() { connectionFeedbackModel::create()->setStatus((int) Request::post('ticket'), Request::post('status'), false); }