improve code in controller and form request for V3 whit pint package

This commit is contained in:
2025-10-27 13:20:14 +03:30
parent 71f5001477
commit b155db758a
118 changed files with 604 additions and 559 deletions

View File

@@ -14,6 +14,7 @@ use Illuminate\Http\Request;
class PermissionManagementController extends Controller
{
use ApiResponse;
/**
* Display a listing of the resource.
*/
@@ -78,6 +79,7 @@ class PermissionManagementController extends Controller
public function destroy(Permission $permission): JsonResponse
{
$permission->delete();
return $this->successResponse();
}
}