public async Task <IEnumerable <ParticipanteVM> > GetAllAsync() { var participantes = await repository.GetAllAsync(); var participantesToReturn = mapper.Map <IEnumerable <ParticipanteVM> >(participantes); return(participantesToReturn); }
public async Task <IEnumerable <ParticipanteVM> > GetAllAsync() { var participantes = await repository.GetAllAsync(); var participantesToReturn = mapper.Map <IEnumerable <ParticipanteVM> >(participantes); return(participantesToReturn); }