예제 #1
0
        public async Task <IActionResult> Remove([FromRoute] RemoveOfferCommand command)
        {
            await _mediator.Send(command);

            return(Ok());
        }
예제 #2
0
 public async Task <IActionResult> RemoveOffer(RemoveOfferCommand request)
 {
     return(Ok(await _mediator.Send(request)));
 }