/// <summary>
 ///    <see
 ///       cref="Microsoft.Samples.NLayerApp.Application.MainBoundedContext.BankingModule.Services.IMainBoundedContextService" />
 /// </summary>
 /// <param name="from">
 ///    <see
 ///       cref="Microsoft.Samples.NLayerApp.Application.MainBoundedContext.BankingModule.Services.IMainBoundedContextService" />
 /// </param>
 /// <param name="to">
 ///    <see
 ///       cref="Microsoft.Samples.NLayerApp.Application.MainBoundedContext.BankingModule.Services.IMainBoundedContextService" />
 /// </param>
 /// <param name="amount">
 ///    <see
 ///       cref="Microsoft.Samples.NLayerApp.Application.MainBoundedContext.BankingModule.Services.IMainBoundedContextService" />
 /// </param>
 public void PerformTransfer(BankAccountDto from, BankAccountDto to, decimal amount)
 {
     _bankAppService.PerformBankTransfer(from, to, amount);
 }
Exemplo n.º 2
0
 public void PerformTransfer([FromBody] BankAccountDTO from, [FromBody] BankAccountDTO to, [FromBody] decimal amount)
 {
     _bankAppService.PerformBankTransfer(from, to, amount);
 }