public IActionResult CheckExcelRows(CheckExcelRowsRequest request) { if (ModelState.IsValid) { SingleResponse <long> response = new SingleResponse <long>(); XBS.ActionResult result = _xBService.CheckExcelRows(request.ReestrTransferAdditionalDetails, request.DebetAccount, request.OrderId); 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)); } }