Created JWT endpoints

This commit is contained in:
2026-02-21 19:35:55 +01:00
parent 1c0fc26f7e
commit 9740d92cbf
8 changed files with 140 additions and 7 deletions
@@ -0,0 +1,13 @@
using Ardalis.Specification;
using BeReadyBackend.Models;
namespace BeReadyBackend.Specifications.Users;
public class GetUserByUsernameSpec : SingleResultSpecification<User>
{
public GetUserByUsernameSpec(string username)
{
Query
.Where(x => x.Username == username);
}
}