Ejemplo n.º 1
0
        public IActionResult GetRatingPools()
        {
            _logger.LogInformation($"Controller Method invoked: {nameof(GetRatingPools)}");

            IEnumerable <RatingPool> model = _characterRatingLogic.GetRatingPools();

            IEnumerable <D.RatingPool> result = _mapper.Map <IEnumerable <D.RatingPool> >(model);

            return(new ObjectResult(result));
        }
Ejemplo n.º 2
0
        public void GetRatingPools_Retrieved_Success()
        {
            IEnumerable <RatingPool> results = _characterRatingLogic.GetRatingPools();

            Assert.IsNotNull(results);
        }