public static function dataTablePaginate($request, $parameters = [])
    {
        // Datatable paginate
        $parameters['start']   = null;
        $parameters['length']  = null;

        if($request->input('start') != null && $request->input('length') != '-1')
        {
            $parameters['start']    = $request->input('start');
            $parameters['length']   = $request->input('length');
        }

        return $parameters;
    }