public async Task <CharacterDto> GetByCharacterName(string charName) { var character = await _charactersRepo.GetByCharacterName(charName); return(character != null ? await _charMapper.MapToDto(character) : null); }
public async Task <CharacterDto> GetByCharacterName(string charName) { var character = await _charactersRepo.GetByCharacterName(charName); return(character != null ? await _charMapper.MapToDto(character) : null); }