Exemple #1
0
        public InternalResponse Create(CustomerCreateRequest request)
        {
            var factory  = new InternalCommandFactory();
            var command  = factory.Create <CustomerCreateCommand>();
            var response = command.Execute(request);

            return(response);
        }
        public PartnerAuthenticateResponse Authenticate(PartnerAuthenticateRequest request)
        {
            var factory  = new InternalCommandFactory();
            var command  = factory.Create <PartnerAuthenticateCommand>();
            var response = command.Execute(request);

            return(response);
        }