예제 #1
0
        public IActionResult GetItems(int parentId)
        {
            try
            {
                var results = _dataService.GetList(parentId);

                return(new ObjectResult(results));
            }
            catch (Exception e)
            {
                _logManager.LogError(e, "GetItems", "LocalScopeExampleController");

                throw;
            }
        }
예제 #2
0
        public IActionResult GetItems(int parentId)
        {
            var results = _dataService.GetList(parentId);

            return(new ObjectResult(results));
        }