public async Task <IActionResult> GetByUserId([FromQuery] Guid userId) { SOApiResult <UserDto> result = await _userApiService.GetByUserId(userId); if (result.IsSucceed) { return(Ok(result.ReturnedDataJSON)); } return(BadRequest(result.Message)); }
public async Task <IActionResult> GetByUserId([FromQuery] Guid userId) { SOApiResult <UserDto> result = await _userApiService.GetByUserId(userId); if (result.IsSucceed) { return(Ok(result.ReturnedDataJSON)); } return(BadRequest(result.Message)); }