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