<?php

namespace App\Repositories\Webprofile\Sa;

use App\Models\Webprofile\Sa\Design;
use App\Repositories\Repository;

class DesignRepository extends Repository
{
    public function __construct(Design $model)
    {
        $this->model = $model;
    }

    public function get()
    {
    }

    public function paginate()
    {
    }

    public function update($data, $design)
    {
        return $this->model->updateOrCreate([
            'design_id' => $design->id,
        ], $data);
    }
}
