Exemple #1
0
        public async Task <List <TEntity> > GetListAsync()
        {
            var entity = await _domainServiceBase.GetListAsync();

            return(Mapper.Map <List <TEntity> >(entity));
        }
Exemple #2
0
        public virtual async Task <List <TViewModel> > GetListAsync()
        {
            var entity = await _domainService.GetListAsync();

            return(Mapper.Map <List <TViewModel> >(entity));
        }