public ActionResult <CommandReadDto> GetCommandById(int id)
        {
            var commandItem = _repository.GetComandById(id);

            if (commandItem != null)
            {
                return(Ok(_mapper.Map <CommandReadDto>(commandItem)));
            }
            return(NotFound());
        }