echo json_encode($result); exit; case "editMiniProject": $result = DbManager::editMiniProject($request->data); echo json_encode($result); exit; case "editSubCategoryTitle": $result = DbManager::editSubCategoryTitle($request->data); echo json_encode($result); exit; case "getGeneralSettings": $result = DbManager::getGeneralSettings(); echo json_encode($result); exit; case "saveGeneralSettings": $result = DbManager::saveGeneralSettings($request->data); echo json_encode($result); exit; case 'deleteProject': $result = DbManager::deleteProject($request->data); echo json_encode($result); exit; case 'deleteTestimonial': $result = DbManager::deleteTestimonial($request->data); echo json_encode($result); exit; case 'saveNewProject': $result = DbManager::saveNewProject($request->data); echo json_encode($result); exit; case 'getTestimonials':