public async Task <IActionResult> Remove([FromRoute] RemoveOfferCommand command) { await _mediator.Send(command); return(Ok()); }
public async Task <IActionResult> RemoveOffer(RemoveOfferCommand request) { return(Ok(await _mediator.Send(request))); }