Files
MetaCourse/pyrofetes/pyrofetes-backend/PyroFetes/Specifications/Users/GetUserByIdSpec.cs
T
2026-05-05 10:53:52 +02:00

13 lines
264 B
C#

using Ardalis.Specification;
using PyroFetes.Models;
namespace PyroFetes.Specifications.Users;
public sealed class GetUserByIdSpec : Specification<User>
{
public GetUserByIdSpec(int userId)
{
Query
.Where(x => x.Id == userId);
}
}