public FeedbackRepository(ConnectionFactory connectionFactory) { _connectionFactory = connectionFactory; }
private void RegisterConnectionFactory() { var connectionFactory = new ConnectionFactory(Settings.Default.MongoDbConnectionString); Bind<ConnectionFactory>().ToConstant(connectionFactory).InSingletonScope(); }