Пример #1
0
        public IActionResult GetAllUsers()
        {
            using (var scope = _tracer.BuildSpan(spanName).StartActive(true))
            {
                var result = _usersLogic.GetAllUsersFromDataBase();

                scope.LogResult("Get all users result", result);

                return(Ok(result));
            }
        }
Пример #2
0
        public IActionResult Get()
        {
            var result = _usersLogic.GetAllUsersFromDataBase();

            return(Ok(result));
        }