mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
437bedb117
Split IFriendRequestService into command and query interfaces, refactor related services and tests, and update dependency injection. Add HubResult response model and a SignalR HubExceptionFilter for consistent error handling. Move and update FriendsHub to use new command service and result pattern. Update username validation to allow digits after Cyrillic letters. Add new controllers and configuration for SignalR. Remove obsolete IFriendRequestService and related code.
11 lines
241 B
C#
11 lines
241 B
C#
using Govor.Core.Models;
|
|
|
|
namespace Govor.Application.Interfaces.Friends;
|
|
|
|
|
|
public interface IFriendRequestQueryService
|
|
{
|
|
Task<List<Friendship>> GetIncomingAsync(Guid userId);
|
|
Task<List<Friendship>> GetResponsesAsync(Guid userId);
|
|
}
|