public async Task <IActionResult> Cancel([FromBody] CancelOrderViewModel orderViewModel) { await _orderAppService.Cancel(orderViewModel); return(Response(orderViewModel)); }
public IActionResult Cancel(CancelPaymentInputDto inputDto) { _orderAppService.Cancel(inputDto); return(Ok()); }