MessageRepository + Tests

+ GetAllAsync rework
+ FindByIdAsync
+ rework FindBySenderAndReceiverIdAsync
This commit is contained in:
Artemy
2025-06-22 12:07:06 +07:00
parent a6e8ba1a65
commit 203bb5e5a4
5 changed files with 57 additions and 12 deletions
@@ -22,7 +22,6 @@ public class UsersRepository : IUsersRepository
{
return await _context.Users
.AsNoTracking()
.Where(x => true)
.ToListOrThrowIfEmpty(new NotFoundException("Users in Database not exists"));
}