public async Task <ActionResult <PostImageCommandResponse> > Post([FromBody] PostImageCommand request) { return(await Send(request)); }
public async Task <ActionResult <PostImageCommandResponse> > Post(PostImageCommand request, CancellationToken cancellationToken = default(CancellationToken)) { return(await Mediator.Send(request, cancellationToken)); }