Beispiel #1
0
        public async void AgentInformationChangeUnitTest()
        {
            AgentInformationChangeCommand agentInformationChangeArgs = new AgentInformationChangeCommand()
            {
                AgentInfo = new AgentInformationChange_agentinfo()
                {
                    AgentCode                   = "040999",
                    AgentRequestType            = "C",
                    AgentNameChangeFlag         = "N",
                    AgentAddressChangeFlag      = "Y",
                    AgentAddress                = "123 Main Street",
                    AgentCity                   = "New York",
                    AgentState                  = "NY",
                    AgentZipCode                = "10001",
                    AgentCodeCrossReference     = " ",
                    AgentName                   = " ",
                    AgentPhoneNumber            = "",
                    AgentFaxNumber              = "",
                    AgentEmailAddress           = "",
                    AgentSSNFederalIdTypeFlag   = "",
                    AgentSSNFederalId           = "",
                    AgentMailOptionFlag         = "",
                    AgentPhoneChangeFlag        = "N",
                    AgentFaxChangeFlag          = "N",
                    AgentEmailChangeFlag        = "N",
                    AgentMailOptionChangeFlag   = "N",
                    AgentSSNFederalIdChangeFlag = "N"
                }
            };

            AISClient aISClient = new AISClient("http://localhost:53713");
            var       resut     = await aISClient.AgentInformationChangeAsync(agentInformationChangeArgs);

            Assert.NotNull(resut);
        }
Beispiel #2
0
 public async Task <AgentInformationChange_result> AgentInformationChange([FromBody]
                                                                          AgentInformationChangeCommand agentInformationChangeCommand)
 {
     return(await mediator.Send(agentInformationChangeCommand));
 }