public async Task <IActionResult> Create([FromBody] CreateUserDto createUserDto)
        {
            SOApiResult <bool> result = await _userApiService.Create(createUserDto);

            if (result.IsSucceed)
            {
                return(Ok());
            }
            return(BadRequest(result.Message));
        }
示例#2
0
 public UserCreateResponse Post(UserCreateRequest request)
 {
     return(_userApiService.Create(request));
 }