public async Task <IActionResult> Create([FromBody] CreateUserDto createUserDto) { SOApiResult <bool> result = await _userApiService.Create(createUserDto); if (result.IsSucceed) { return(Ok()); } return(BadRequest(result.Message)); }
public UserCreateResponse Post(UserCreateRequest request) { return(_userApiService.Create(request)); }