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)); } }
public IActionResult Get() { var result = _usersLogic.GetAllUsersFromDataBase(); return(Ok(result)); }