Files
Govor/Govor.Contracts/DTOs/FriendshipDto.cs
T
Artemy 42348c863f 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.
2025-07-06 17:43:10 +07:00

12 lines
298 B
C#

using Govor.Core.Models;
namespace Govor.Contracts.DTOs;
public class FriendshipDto
{
public Guid Id { get; set; }
public Guid RequesterId { get; set; }
public Guid AddresseeId { get; set; }
public FriendshipStatus Status { get; set; }
public UserDto Requester { get; set; }
}