<?php

namespace App\Services\Logic;

use App\Validators\Order as OrderValidator;

trait OrderTrait
{

    public function checkOrderById($id)
    {
        $validator = new OrderValidator();

        return $validator->checkOrderById($id);
    }

    public function checkOrderBySn($sn)
    {
        $validator = new OrderValidator();

        return $validator->checkOrderBySn($sn);
    }

}
