コード例 #1
0
 public OrderDTO Post([FromBody] OrderDTO order)
 {
     return(_salesAppService.AddNewOrder(order));
 }
コード例 #2
0
 /// <summary>
 ///    <see
 ///       cref="Microsoft.Samples.NLayerApp.Application.MainBoundedContext.BankingModule.Services.IMainBoundedContextService" />
 /// </summary>
 /// <param name="order">
 ///    <see
 ///       cref="Microsoft.Samples.NLayerApp.Application.MainBoundedContext.BankingModule.Services.IMainBoundedContextService" />
 /// </param>
 /// <returns>
 ///    <see
 ///       cref="Microsoft.Samples.NLayerApp.Application.MainBoundedContext.BankingModule.Services.IMainBoundedContextService" />
 /// </returns>
 public OrderDto AddNewOrder(OrderDto order)
 {
     return(_salesAppService.AddNewOrder(order));
 }