public IActionResult UpdateTravelAbroad(UpdateTravelAbroadRequest model) { long memberId = _httpContextAccessor.HttpContext.User.GetMemberId(); var result = _membersService.UpdateTravelAbroad(model, memberId); if (!result.WasSuccessful) { ModelState.AddValidationErrorsToModelState(result.ValidationErrors); return(BadRequest(ModelState)); } return(Ok()); }