Exemplo n.º 1
0
        //[ValidateAntiForgeryToken]
        public GatewayDto GetGateway(string gatewayReference)
        {
            var gateway = _paymentProcessor.GetGateway(gatewayReference);

            return(new GatewayDto()
            {
                Id = gateway.Id,
                Name = gateway.Name
            });
        }