Convert Accounts module to MediatR commands/queries
Replaces IAccountService/AccountService with one command/query per operation, following the pattern set in the Auth module. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Mws.Application.Accounts;
|
||||
using Mws.Application.Auth;
|
||||
using Mws.Application.Common;
|
||||
using Mws.Application.Documents;
|
||||
@@ -40,7 +39,6 @@ public static class DependencyInjection
|
||||
services.AddSingleton(jwtOptions);
|
||||
services.AddScoped<ITokenService, JwtTokenService>();
|
||||
|
||||
services.AddScoped<IAccountService, AccountService>();
|
||||
services.AddScoped<IPermissionService, PermissionService>();
|
||||
services.AddScoped<IRoleService, RoleService>();
|
||||
services.AddScoped<IProjectService, ProjectService>();
|
||||
|
||||
Reference in New Issue
Block a user