<?php

namespace App\Repositories\Webprofile\En;

use App\Models\Webprofile\En\Pages;
use App\Repositories\Repository;

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

    public function get()
    {
    }
    
    public function paginate()
    {
    }

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