예제 #1
0
        public async Task <IEnumerable <SiteType2> > GetSiteType2s()
        {
            var resultList = new List <SiteType2>();

            foreach (var result in await _lustRepository.GetSiteType2s())
            {
                resultList.Add(_mapper.Map <EntityDto.SiteType2, SiteType2>(result));
            }
            return(resultList);
        }