/// <summary> /// <see /// cref="Microsoft.Samples.NLayerApp.Application.MainBoundedContext.BankingModule.Services.IMainBoundedContextService" /> /// </summary> /// <param name="newBankAccount"> /// <see /// cref="Microsoft.Samples.NLayerApp.Application.MainBoundedContext.BankingModule.Services.IMainBoundedContextService" /> /// </param> /// <returns> /// <see /// cref="Microsoft.Samples.NLayerApp.Application.MainBoundedContext.BankingModule.Services.IMainBoundedContextService" /> /// </returns> public BankAccountDto AddNewBankAccount(BankAccountDto newBankAccount) { return(_bankAppService.AddBankAccount(newBankAccount)); }
public BankAccountDTO Post([FromBody] BankAccountDTO newBankAccount) { return(_bankAppService.AddBankAccount(newBankAccount)); }