public function create($model, array $data)
    {
        $method = 'create';

        $result = $this->call($model, $method, [$data]);


        return $this->makeResponse($result, 0);
    }
public function create($model, array $data)
    {
        $method = 'create';

        $result = $this->call($model, $method, [$data]);


        return $this->makeResponse($result, 0);
    }
public function create ( $ model , array $ data ) { $ method = 'create' ; $ result = $ this -> call ( $ model , $ method , [ $ data ] ) ; return $ this -> makeResponse ( $ result , 0 ) ; }
Create a single record and return its database identifier.

@param string $model
@param array $data
@return integer
Create a single record and return its database identifier .