コード例 #1
0
        public async Task <IActionResult> GetMenuItems()
        {
            var output = await _utilService.GetMenuItems();

            if (output == null)
            {
                return(BadRequest());
            }
            else
            {
                return(Ok(output));
            }
        }