Rename ToStatus to ToRecStatus for HttpStatusCode conversion

Standardize extension method naming by renaming ToStatus to ToRecStatus for converting HttpStatusCode to RecStatus across the codebase. Updated all usages and related tests for consistency and clarity.
This commit is contained in:
2026-03-30 11:40:26 +02:00
parent a03d21ebc6
commit 47698b9046
3 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ public class ResultProcedureTests : RecApplicationTestBase
[Test]
public async Task InsertResultProcedure_runs_via_mediator()
{
var procedure = new InsertResultCommand { ActionId = 1, Status = HttpStatusCode.OK.ToStatus(), Header = "h", Body = "b", Type = Domain.Constants.ResultType.Main };
var procedure = new InsertResultCommand { ActionId = 1, Status = HttpStatusCode.OK.ToRecStatus(), Header = "h", Body = "b", Type = Domain.Constants.ResultType.Main };
var (sender, scope) = CreateScopedSender();
using var _ = scope;