public void AltemaCharacterRating_Retrieved_Success() { IEnumerable <AltemaCharacterInfo> results = _characterRatingLogic.GetAltemaCharacterInfos(); WriteAltemaCharacterResultToConsole(results); Assert.IsNotNull(results); }
public IActionResult GetAltemaCharacterInfos() { _logger.LogInformation($"Controller Method invoked: {nameof(GetAltemaCharacterInfos)}"); IEnumerable <AltemaCharacterInfo> model = _characterRatingLogic.GetAltemaCharacterInfos(); IEnumerable <D.AltemaCharacterInfo> result = _mapper.Map <IEnumerable <D.AltemaCharacterInfo> >(model); return(new ObjectResult(result)); }