public function update(array $inputs)
    {
        $inputs = $this->purifyInputs($inputs);

        return $this->model->update($inputs);
    }
public function update(array $inputs)
    {
        $inputs = $this->purifyInputs($inputs);

        return $this->model->update($inputs);
    }
public function update ( array $ inputs ) { $ inputs = $ this -> purifyInputs ( $ inputs ) ; return $ this -> model -> update ( $ inputs ) ; }
Update all records.

@param array $inputs

@return mixed
Update all records .