Exemplo n.º 1
0
        public async void InsuredInformationChangeUnitTest()
        {
            InsuredInformationChangeCommand insuredInformationChangeArg = new InsuredInformationChangeCommand()
            {
                InsuredInfo = new InsuredInformationChange_insuredInfo()
                {
                    InsuredId                           = "DEMOACCOUNT",
                    AisAccountNumber                    = "98000001",
                    InsuredNameChangeFlag               = "N",
                    InsuredAddressChangeFlag            = "Y",
                    InsuredAddress1                     = "955 Executive Parkway Drive",
                    InsuredAddress2                     = "Suite 216",
                    InsuredCity                         = "St. Louis",
                    InsuredState                        = "MO",
                    InsuredName1                        = "",
                    InsuredName2                        = "",
                    InsuredPhoneNumber                  = "",
                    InsuredFaxNumber                    = "",
                    InsuredEmail                        = "",
                    InsuredCellPhoneServiceProviderCode = "",
                    InsuredCellPhoneNumber              = "",
                    InsuredBillMailOption               = "",
                    InsuredBillReminderOption           = "",
                    InsuredZip                          = "63141",
                    InsuredPhoneChangeFlag              = "N",
                    InsuredFaxChangeFlag                = "N",
                    InsuredEmailChangeFlag              = "N",
                    InsuredCellPhoneChangeFlag          = "N",
                    InsuredBillMailOptionChangeFlag     = "N",
                    InsuredBillReminderOptionChangeFlag = "N"
                }
            };

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

            Assert.NotNull(resut);
        }
Exemplo n.º 2
0
 public async Task <InsuredInformationCHnage_result> InsuredInformationChange([FromBody] InsuredInformationChangeCommand insuredInformationChangeCommand)
 {
     return(await mediator.Send(insuredInformationChangeCommand));
 }