Convert Auth module to MediatR command

Adds the MediatR package and wires AddMediatR in DI. Replaces
IAuthService/AuthService with LoginCommand/LoginHandler, the pattern
the remaining modules will follow.
This commit is contained in:
2026-08-13 23:12:57 +07:00
parent f72aaa2329
commit c5199fd23f
5 changed files with 39 additions and 39 deletions
+1
View File
@@ -12,6 +12,7 @@
<ItemGroup>
<PackageReference Include="AutoMapper" Version="16.2.0" />
<PackageReference Include="MediatR" Version="14.2.0" />
</ItemGroup>
</Project>