public async Task <IList <Applicant> > DomainListAsync() { IEnumerable <EfApplicant> efApplicants = await _efApplicantRepository.ListAsync(); return(_mapListEntityToListDomain(efApplicants)); }
public async Task <IActionResult> List() { IEnumerable <EfApplicant> applicants = await _applicantRepository.ListAsync(); return(View(applicants)); }