<?php

namespace App\Repositories\Webprofile\En;

use App\Models\Webprofile\En\Agenda;
use App\Repositories\Repository;
use Illuminate\Database\Eloquent\Model;

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

    public function get()
    {
    }

    public function paginate()
    {
    }

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