public async Task <GenericLookupResult> GetAbilityById(int id) { tlkpAbility ability = await _pokedexRepository.GetAbilityById(id); _logger.LogInformation(Constants.Mapping + " " + Constants.Ability + " " + Results + "."); return(ability == null ? null : new GenericLookupResult() { Id = ability.Id, Name = ability.Name }); }