Task IProjectionsManagement.CreateAdHocAsync(string name, string query)
        {
            Ensure.NotNullOrEmpty(name, "name");
            Ensure.NotNullOrEmpty(query, "query");

            return(_projectionsManager.CreateAdHoc(name, query));
        }