예제 #1
0
        public Task <IEnumerable <IdentityResourceListView> > GetIdentityResources()
        {
            var resultado = _identityResourceRepository.GetAll().Select(s => _mapper.Map <IdentityResourceListView>(s)).ToList();

            return(Task.FromResult <IEnumerable <IdentityResourceListView> >(resultado));
        }