Add admin friendships controller and improve friend request handling

Introduces FriendshipsController for admin operations, including listing and removing friendships. Updates routing for admin controllers, improves error handling in UsersController, and enhances FriendsController and related services to include requester details in friendship DTOs. Refactors friend request acceptance to use query parameters and updates console client for improved user feedback and local development configuration.
This commit is contained in:
Artemy
2025-07-06 17:43:10 +07:00
parent 857751f0ad
commit 42348c863f
8 changed files with 134 additions and 16 deletions
+1
View File
@@ -8,4 +8,5 @@ public class FriendshipDto
public Guid RequesterId { get; set; }
public Guid AddresseeId { get; set; }
public FriendshipStatus Status { get; set; }
public UserDto Requester { get; set; }
}