-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(PlayerController): Refactor SearchAccount API methods
- Simplified the implementation of the SearchAccount method in PlayerController. - Replaced conditional statement with a ternary operator for better readability. - Added 'await' keyword to the GetUserAsync method in UserService to ensure asynchronous execution. - Simplified the implementation of the ListPlayersAsync method in PlayerService. - Replaced conditional statement with a ternary operator for better readability. - Updated return type to AccountListingDTO[] instead of IEnumerable<AccountListingDTO>.
- Loading branch information
1 parent
55ffe69
commit 02c09fe
Showing
3 changed files
with
9 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters