Files
schengen-visa/SchengenVisaApi/Infrastructure/Database/Applicants/Repositories/Exceptions/ApplicantNotFoundByUserIdException.cs
2024-08-21 16:43:25 +03:00

11 lines
348 B
C#

using ApplicationLayer.Services.GeneralExceptions;
using Domains.ApplicantDomain;
namespace Infrastructure.Database.Applicants.Repositories.Exceptions
{
public class ApplicantNotFoundByUserIdException(Guid id) : EntityNotFoundException<Applicant>("Applicant not found.")
{
public Guid UserId { get; private set; } = id;
}
}