public Command GetCommand(string id)
        {
            var command = AllCommands.SingleOrDefault(c => c.Id == id);

            if (command == null)
            {
                throw new CommandNotRegisteredException(id);
            }

            return(command);
        }