Exemple #1
0
        public async Task Clear()
        {
            await usersClient.SetupAsync(new UsersMicroservice.SetupRequest());

            await accountsClient.SetupAsync(new AccountsMicroservice.SetupRequest());

            await cardsClient.SetupAsync(new CardsMicroservice.SetupRequest());

            await loansClient.SetupAsync(new LoansMicroservice.SetupRequest());

            await paymentsClient.SetupAsync(new PaymentsMicroservice.SetupRequest());

            await transactionsClient.SetupAsync(new TransactionsMicroservice.SetupRequest());
        }
 public async Task Setup(CardsSetup setup)
 {
     var request = mapper.Map <SetupRequest>(setup);
     await cardsClient.SetupAsync(request);
 }