Beispiel #1
0
        public async Task <IEnumerable <CausaViewModel> > RecuperarCausas()
        {
            var causas = await _causaRepository.RecuperarCausas();

            return(_mapper.Map <IEnumerable <Causa>, IEnumerable <CausaViewModel> >(causas));
        }