using ApplicationLayer.InfrastructureServicesInterfaces; using Domains.ApplicantDomain; namespace ApplicationLayer.Services.Applicants.NeededServices; /// Repository pattern for public interface IApplicantsRepository : IGenericRepository { /// Find by Identifier Task FindByUserIdAsync(Guid userId, CancellationToken cancellationToken); /// Get identifier of applicant by user identifier Task GetApplicantIdByUserId(Guid userId, CancellationToken cancellationToken); /// Returns value of NonResident property of applicant Task IsApplicantNonResidentByUserId(Guid userId, CancellationToken cancellationToken); }