<?php
defined('_WPBOOKINGPRO_EXEC') or die;
if(!class_exists("WpBookingPro_CategoriesController")) {
    /**
     * Class WpBookingPro_CategoriesController
     */
    class WpBookingPro_CategoriesController extends woobookingControllerList
    {
        /**
         * @var string
         */
        public $modelItem = "category";
        /**
         * @var string
         */
        public $modelList = "categories";

        /**
         * @param array $list_ordering
         * @return mixed
         */
        public function ajax_sorting($list_ordering = array())
        {
            $input = Factory::getInput();
            $data = $input->getData();
            $list_ordering = $data['list_ordering'];
            return parent::ajax_sorting($list_ordering = array()); // TODO: Change the autogenerated stub
        }
    }
}
?>