src/Repositories/Repository.php
public function create($inputs)
    {
        $record = $this->model->create($inputs);
        $record->save();
        return $record;
    }
public function create($inputs)
    {
        $record = $this->model->create($inputs);
        $record->save();
        return $record;
    }
public function create ( $ inputs ) { $ record = $ this -> model -> create ( $ inputs ) ; $ record -> save ( ) ; return $ record ; }
create a new record

@param  array  $input
@return Models
create a new record