mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 11:44:56 +00:00
42348c863f
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.
12 lines
298 B
C#
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; }
|
|
} |