Yiii crud with model create code example
Example: genrate crud using command yii2
yii gii/crud --modelClass=app\models\service --searchModelClass=app\models\ServiceSearch --controllerClass=app\controllers\ServiceController --viewPath=@app\views\service