Example #1
0
        public async Task <IActionResult> GetListChild()
        {
            try
            {
                var data = await _menuManager.GetListChild();

                return(Ok(data));
            }
            catch (Exception ex)
            {
                return(StatusCode(500, ex.Message));
            }
        }