public async Task <ActionResult <CreateExerciseOutputModel> > Create( CreateExerciseCommand command) => await this.Send(command);
public async Task <ExerciseDto> Create([FromBody] CreateExerciseCommand command) { return(await Mediator.Send(command)); }
public async Task <IActionResult> Create([FromBody] CreateExerciseCommand command) { await Mediator.Send(command); return(NoContent()); }