app/Http/Controllers/SubCategoryController.php
/**
     * Display a listing of the resource.
     *
     * @return JsonResponse
     */
Display a listing of the resource.
Display a listing of the resource .
public function index()
    {
        return Helper::response_with_data(SubCategory::all(), false);
    }
public function index ( ) { return Helper :: response_with_data ( SubCategory :: all ( ) , false ) ; }
Display a listing of the resource.
Display a listing of the resource .