Ejemplo n.º 1
0
        public async Task <IEnumerable <CharacterDTO> > GetAllCharacterForAccountIdAndServerAsync(Guid userId, int server)
        {
            var characters = await _characterRepository.GetAllCharacterForAccountIdAndServerAsync(userId, server);

            return(_mapper.Map <IEnumerable <Character>, IEnumerable <CharacterDTO> >(characters));
        }