using MongoDB.Driver; namespace Core.Blueprint.DAL.Infrastructure.Contracts { public interface IMongoContext { IMongoClient _client { get; } IMongoDatabase Database { get; } void DropCollection(string partitionKey = null) where TDocument : class; void SetUpDatabase(string database); } }