public void OnApproveOrder(string orderId)
        {
            int _orderId = int.Parse(orderId, CultureInfo.CurrentCulture);

            _ordersService.ApproveOrder(_orderId);
            LoadOrdersForCurrentApprover();
        }
        public ActionResult ApproveOrder(int orderGroupId = 0)
        {
            if (orderGroupId == 0)
            {
                return(Json(new { result = true }));
            }
            var success = _ordersService.ApproveOrder(orderGroupId);

            return(success ? Json(new { result = true }) : Json(new { result = "Failed to process your payment." }));
        }