exit; case "deleteCarouselImage": $result = DbManager::deleteCarouselImage($request->data); echo json_encode($result); exit; case "addCategory": $result = DbManager::addCategory($request->data); var_dump("my resut ", $result); echo json_encode($result); exit; case "getCategories": $result = DbManager::getCategories(); echo json_encode($result); exit; case "getSubCategory": $result = DbManager::getSubCategory($request->data); echo json_encode($result); exit; case "addSubCategory": $result = DbManager::addSubCategory($request->data); echo json_encode($result); exit; case "getSubCategories": $result = DbManager::getSubCategories(); echo json_encode($result); exit; case "editCategoryTitle": $result = DbManager::editCategoryTitle($request->data); echo json_encode($result); exit; case "deleteCategory":