public AuthContext() { var connectionString = DBConfigurator.GetConnectionString("AuthDB"); var mongoClient = new MongoClient(connectionString); _database = mongoClient.GetDatabase("AuthDB"); }
public DepartmentDBContext() { var connectionString = DBConfigurator.GetConnectionString("OperationalsDB"); var mongoClient = new MongoClient(connectionString); _database = mongoClient.GetDatabase("OperationalsDB"); }