<?php

namespace App\Classes\Modules\Segments\Services;

use App\Classes\General\Eloquent\AbstractDeleteRecord;
use App\Models\Segment;

class DeletesSegment extends AbstractDeleteRecord
{

    /**
     * @param Segment $model
     * @return mixed
     * @throws \App\Classes\Exceptions\MalformedRequestException
     */
    public function execute(Segment $model) {
        return $this->handler($model);
    }
}