public async Task <string> PostMediatR(string document)
        {
            var bdx = new RiskBordereau
            {
                UniqueIdentifier = (new Guid()).ToString(),
                XML = "<root><data>information</data></root>"
            };
            var request = new BordereauRequest {
                Bdx = bdx
            };

            var result = await Mediator.Send(request);

            return(result.UrlLocation);
        }
        public async Task <Response> GetMediatR(string document)
        {
            var bdx = new RiskBordereau
            {
                UniqueIdentifier = (new Guid()).ToString(),
                XML = "<root><data>information</data></root>"
            };
            var request = new BordereauRequest {
                Bdx = bdx
            };

            var result = await Mediator.Send(request);

            var response = BaseController.GetObject <Response>("RiskResponse.xml");

            return(response);
        }