public ActionResult <CommandReadDto> CreateCommand(CommandWriteDto command)
        {
            var commandModel = _mapper.Map <Command>(command);

            _repo.CreateCommad(commandModel);
            _repo.saveChanges();

            var commandReadDto = _mapper.Map <CommandReadDto>(commandModel);

            /*if (commandItem == null) return NotFound();*/
            return(CreatedAtRoute(nameof(GelCommandById), new { Id = commandReadDto.Id }, commandReadDto));
        }