public ActionResult <CommandReadDto> Show(int id) { var command = _repo.Show(id); if (command is null) { return(NotFound()); } return(Ok(_mapper.Map <CommandReadDto>(command))); }