예제 #1
0
        public async Task <IActionResult> GetAllIngredients()
        {
            var ingedients = beers.GetAllBeerIngredients().GroupBy(b => b.Name).Select(b => b.First()).ToList();

            return(Ok(ingedients));
        }