fd2b21a73c743a835fd4da763f53ff5dca2385ed
Encapsulated the access code request logic in a new `SendAccessCodeCommand` using MediatR. Introduced a `SendAccessCodeResult` enum to standardize outcomes. Refactored `AuthController` to delegate access code handling to the command, simplifying the controller and reducing dependencies. Updated `AuthService` to map HTTP responses to `SendAccessCodeResult`. Improved error handling and edge case management in `SendAccessCodeCommandHandler`. Centralized history recording and notification logic in the command handler for better maintainability and separation of concerns.
Description
No description provided
Languages
JavaScript
83%
C#
8%
HTML
4.1%
Visual Basic .NET
2.6%
CSS
1.8%
Other
0.4%