Endpoint to see users list

This commit is contained in:
2026-02-21 19:06:04 +01:00
parent 7364a75a2c
commit 1c0fc26f7e
2 changed files with 39 additions and 0 deletions
@@ -0,0 +1,13 @@
using Ardalis.Specification;
using BeReadyBackend.Models;
namespace BeReadyBackend.Specifications.Users;
public class GetUserNotFriendSpec : Specification<User>
{
public GetUserNotFriendSpec(int userId)
{
Query
.Where(x => x.Id != userId);
}
}