예제 #1
0
        public IActionResult GetUserList()
        {
            ReadUserDto readUserDto = new ReadUserDto();
            SOApiResult <List <UserDto> > result = _userApiService.GetUserList(readUserDto);

            if (result.IsSucceed)
            {
                return(Ok(result.ReturnedDataJSON));
            }
            return(BadRequest(result.Message));
        }