Exemplo n.º 1
0
        public IActionResult Get()
        {
            var item = ApiUtility.SerializeObject(nhlService.GetAllTeams());

            if (item == null)
            {
                return(NotFound());
            }
            return(Ok(item));
        }