public ActionResult <IEnumerable <Command> > GetAllCommands()
        {
            var commandItems = _repository.GettAllCommands();

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