public IActionResult ApproveHBServletTokenUnBlockRequestOrder(ApproveIdRequest request) { if (ModelState.IsValid) { SingleResponse <long> response = new SingleResponse <long>(); HBServletRequestOrder order = _cacheHelper.GetApprovalOrder <HBServletRequestOrder>(request.Id); XBS.ActionResult result = _xBService.ApproveHBServletTokenUnBlockRequestOrder(order); response.Result = result.Id; response.ResultCode = ResultCodeFormatter.FromPersonalAccountSecurityService(result.ResultCode); response.Description = utils.GetActionResultErrors(result.Errors); return(ResponseExtensions.ToHttpResponse(response)); } else { return(ValidationError.GetValidationErrorResponse(ModelState)); } }