public MongoContentRepository(IMongoDatabase database, IAppProvider appProvider)
        {
            Guard.NotNull(appProvider, nameof(appProvider));

            this.appProvider = appProvider;

            contentsDraft     = new MongoContentDraftCollection(database);
            contentsPublished = new MongoContentPublishedCollection(database);

            this.database = database;
        }