Example #1
0
        public async Task <IEnumerable <CidadeViewModel> > GetAll([FromServices] ICidadeService cidadeService)
        {
            var cidades = _mapper.Map <IEnumerable <CidadeViewModel> >(await cidadeService.GetAllFronteira());

            return(cidades);
        }