public async void BillingAccountInformationUnitTest() { BillingAccountInformationCommand billingAccountInformationArgs = new BillingAccountInformationCommand() { AisAccountNumber = "98000001", InsuredId = "DEMOACCOUNT", PolicyNumber = "TESTPFPOLICY0001", PolicyFlag = "Y" }; AISClient aISClient = new AISClient("http://localhost:53713"); var resut = await aISClient.BillingAccountInformationAsync(billingAccountInformationArgs); Assert.NotNull(resut); }
public async Task <BillingAccountInformation_result> BillingAccountInformation([FromBody] BillingAccountInformationCommand billingAccountInformationCommand) { return(await mediator.Send(billingAccountInformationCommand)); }