public function updateCustomRecord($parameters) { GroupCustomerClassTax::where('group_id_102', $parameters['id'])->update(['customer_class_tax_id_102' => $this->request->input('customerClassTax')]); }
public function run() { GroupCustomerClassTax::insert([['group_id_102' => 1, 'customer_class_tax_id_102' => 1], ['group_id_102' => 2, 'customer_class_tax_id_102' => 2], ['group_id_102' => 3, 'customer_class_tax_id_102' => 3]]); }