Example #1
0
 public ClientController(IClientServices clienteServices, IBankAccountServices bankAccountServices, IAccountMovementServices accountMovementServices, IMapper mapper)
 {
     this.clienteServices         = clienteServices;
     this.bankAccountServices     = bankAccountServices;
     this.accountMovementServices = accountMovementServices;
     this.mapper = mapper;
 }
 public TransactionsController(ITransactionService transactionService, IBankAccountServices bankAccountServices)
 {
     this.transactionService  = transactionService ?? throw new ArgumentNullException(nameof(transactionService));
     this.bankAccountServices = bankAccountServices;
 }
 public BankAccountController(IBankAccountServices bankAccountService)
 {
     this.bankAccountService = bankAccountService ?? throw new ArgumentNullException(nameof(bankAccountService));
 }
 public JsonReaderController(IBankAccountServices bankAccountService, IJsonReader jreader)
 {
     this.bankAccountService = bankAccountService ?? throw new ArgumentNullException(nameof(bankAccountService));
     this.jreader            = jreader ?? throw new ArgumentNullException(nameof(jreader));
 }