public async Task <IActionResult> ApprovePcn(Guid token, string recipient)
        {
            try
            {
                if (token == Guid.Empty)
                {
                    return(BadRequest("Invalid Token"));
                }
                if (string.IsNullOrEmpty(recipient))
                {
                    return(BadRequest("Invalid Recipient"));
                }

                var pcnId = await _service
                            .ApprovePcn(
                    new PcnApprovalResourceParameter
                {
                    Approved  = true,
                    Recipient = recipient,
                    Token     = token
                }
                    )
                            .ConfigureAwait(false);

                var url = $"{_urlService.GetClientBaseUrl()}pcn/history/{pcnId}";
                return(Redirect(url));
            }
            catch (Exception e)
            {
                return(BadRequest(e.Message));
            }
        }