public async Task <Application> GetApplicantLastApplication(int applicantId)
        {
            var efLastApplication = await _efApplicantRepository.GetLastApplicationByApplicantId(applicantId);

            return(_mapApplicationEntityToDomain(efLastApplication));
        }
        public async Task <string> GetLastApplicationNameAndRef(int applicantId)
        {
            var efApplication = await _efApplicantRepository.GetLastApplicationByApplicantId(applicantId);

            return(efApplication?.Job?.Title ?? "" + " - " + efApplication?.Job?.Reference ?? "");
        }