diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8a5b72e..4f227b1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -65,7 +65,7 @@ jobs: fetch-depth: 0 - name: Cache SonarCloud packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~\sonar\cache key: ${{ runner.os }}-sonar @@ -73,7 +73,7 @@ jobs: - name: Cache SonarCloud scanner id: cache-sonar-scanner - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .\.sonar\scanner key: ${{ runner.os }}-sonar-scanner diff --git a/REMS.BackendApi/Features/Agent/AgentController.cs b/REMS.BackendApi/Features/Agent/AgentController.cs index f97086d..29f17d5 100644 --- a/REMS.BackendApi/Features/Agent/AgentController.cs +++ b/REMS.BackendApi/Features/Agent/AgentController.cs @@ -89,10 +89,10 @@ public async Task SearchAgentByNameAndLocation(SearchAgentRequest return Ok(agentList); } - [HttpGet("{pageNumber}/{pageSize}",Name = "AgentAll")] + [HttpGet("{pageNumber}/{pageSize}", Name = "AgentAll")] public async Task AgentAll(int pageNumber, int pageSize) { - Result agentList = await _blAgent.AgentAll(pageNumber,pageSize); + Result agentList = await _blAgent.AgentAll(pageNumber, pageSize); return Ok(agentList); } diff --git a/REMS.Modules/Features/Agent/BL_Agent.cs b/REMS.Modules/Features/Agent/BL_Agent.cs index 5dafd39..cd1b410 100644 --- a/REMS.Modules/Features/Agent/BL_Agent.cs +++ b/REMS.Modules/Features/Agent/BL_Agent.cs @@ -63,6 +63,6 @@ public async Task> SearchAgentByNameAndLocationAs public async Task> AgentAll(int pageNumber, int pageSize) { - return await _daAgent.AgentAllAsync(pageNumber,pageSize); + return await _daAgent.AgentAllAsync(pageNumber, pageSize); } } \ No newline at end of file