Example #1
0
        public async Task <IActionResult> DescriptionItems(int groupId)
        {
            var descItems = (await _shopManager.GetDescriptionItemsAsync(groupId))
                            .Select(x => new { x.Id, x.Name, groupId });

            return(Ok(descItems));
        }