public async Task <IActionResult> MoveToSprint([FromBody] TaskMoveModel model) { return(Ok(await _mediator.Send(new MoveToSprintCommand(model)))); }
public MoveToSprintCommand(TaskMoveModel task) { Task = task; }