Rename Profile*Procedure types to Profile*Command for clarity

Renamed InsertProfileProcedure, UpdateProfileProcedure, and DeleteProfileProcedure (and their handlers) to use the "Command" suffix for consistency. Updated all usages in controllers, handlers, and tests. No logic changes; only type names were updated for improved clarity.
This commit is contained in:
2026-03-24 11:39:04 +01:00
parent 4999beda3b
commit de503cac5b
7 changed files with 19 additions and 19 deletions

View File

@@ -23,7 +23,7 @@ public class ProcedureExecutionTests : RecApplicationTestBase
[Test]
public async Task ExecuteInsertProcedure_runs_with_addedWho()
{
var procedure = new InsertProfileProcedure { Name = "name" };
var procedure = new InsertProfileCommand { Name = "name" };
var (sender, scope) = CreateScopedSender();
using var _ = scope;
@@ -35,7 +35,7 @@ public class ProcedureExecutionTests : RecApplicationTestBase
[Test]
public async Task ExecuteUpdateProcedure_runs_with_changedWho()
{
var procedure = new UpdateProfileProcedure { Data = { Name = "updated" }, Id = 123 };
var procedure = new UpdateProfileCommand { Data = { Name = "updated" }, Id = 123 };
var (sender, scope) = CreateScopedSender();
using var _ = scope;
@@ -47,7 +47,7 @@ public class ProcedureExecutionTests : RecApplicationTestBase
[Test]
public async Task ExecuteDeleteProcedure_runs()
{
var procedure = new DeleteProfileProcedure { Start = 1, End = 2, Force = true };
var procedure = new DeleteProfileCommand { Start = 1, End = 2, Force = true };
var (sender, scope) = CreateScopedSender();
using var _ = scope;