<?php

namespace Modules\DeliveryDate\Http\Controllers;

use App\Functions\ResponseHelper;
use App\Http\Controllers\BasicController;
use Modules\DeliveryDate\Entities\Model;

class APIController extends BasicController
{
    public function index()
    {
        return ResponseHelper::make(Model::select('id', 'title_'.lang().' As title')->Active()->get());
    }
}
