Rename client and server module services

Rename the client service class to Client[Module]Service and the server service file to Server[Module]Service, updating all references accordingly. Updated DI registration in ClientStartup to register Client[Module]Service, and updated Edit.razor and Index.razor to inject and call Client[Module]Service instead of [Module]Service. This clarifies client vs server implementations and avoids naming collisions.
This commit is contained in:
Leigh Pointer
2026-02-06 18:31:58 +01:00
parent 0dc9382215
commit 783d01bf9f
5 changed files with 12 additions and 12 deletions

View File

@@ -11,7 +11,7 @@ namespace [Owner].Module.[Module].Startup
{
if (!services.Any(s => s.ServiceType == typeof(I[Module]Service)))
{
services.AddScoped<I[Module]Service, [Module]Service>();
services.AddScoped<I[Module]Service, Client[Module]Service>();
}
}
}