using GB5Shared.DTO.Framework.Login; namespace RecruitmentDAL.CustomeCode.Integration { /// Small, module-owned MUSER read — resolves a UserId to its PRIMARYMAIL email /// address. Used by RecruitmentBLL.Integration.EcpIntegrationService.NotifyRequesterOnHireAsync /// to find the JobRequisition requester's email before sending a hire-notification /// correspondence. Not a generic user-service abstraction — each module that needs this reads /// MUSER directly (same pattern as CRMDAL/ECPDAL's own MUSER queries). public interface IUserLookupDAL { /// Returns MUSER.PRIMARYMAIL for the given UserId, or null if the user doesn't /// exist or has no email on file. Task GetUserEmail(int userId, LoginDTO loginDTO, CancellationToken ct); } }