public IActionResult Create([FromBody] CreateCommand command, CancellationToken cancellationToken) { return(Ok(command)); }
public async Task <ActionResult <Unit> > Create(CreateCommand command) { return(await Mediator.Send(command)); }