public async Task <IList <Applicant> > DomainListAsync()
        {
            IEnumerable <EfApplicant> efApplicants = await _efApplicantRepository.ListAsync();

            return(_mapListEntityToListDomain(efApplicants));
        }
コード例 #2
0
        public async Task <IActionResult> List()
        {
            IEnumerable <EfApplicant> applicants = await _applicantRepository.ListAsync();

            return(View(applicants));
        }