paginate(5)->withQueryString(); } public function create(array $data): Grade { return Grade::create($data); } public function update(Model $model, array $data): Grade { $model->update($data); return $model; } public function delete($model): void { $model->delete(); } }