<?php


namespace App\Core\Service;
use App\Core\Repository\Jobs\JobsRepository;

class JobsService
{
    private $jobsRepository;
    public function __construct ( JobsRepository $jobsRepository )
    {
        $this->jobsRepository = $jobsRepository;
    }

    public function getJobsList ( array $params,$columns = ["*"] )
    {
        return $this->jobsRepository->findByCriteria($params,$columns);
    }
    
}