public function store($attributes)
    {
        $attributes = $this->formatStoreAttributes($attributes);

        $model = $this->model->create($this->mapAttributesWithScope($attributes));

        if ($this->canOrder()) {
            if ($this->storeInLastPlace) {
                $attr = $this->crudeSetup->getOrderAttribute();
                $model->$attr = $model->id;
                $model->save();
            }
            $this->resetOrder();
        }

        $apiModel = $this->getById($model->id);

        $this->afterStore($apiModel, $attributes);

        return $apiModel;
    }