public virtual JsonResult ListAll() { var commands = _commandLocator.ListAllCommands(); var descriptions = commands.Select(command => new CommandDescription(command, true)); return(JsonWithoutNulls(descriptions.ToList())); }