<?php

namespace App\Classes\Modules\Announcements\Services;

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

class DeletesAnnouncement extends AbstractDeleteRecord
{

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