public void Connect()
 {
     try
     {
         var config = JsonConfigurator.GetConnectionStringFromConfigFile();
         Mongo.Initialize(config);
     }
     catch (Exception)
     {
         throw;
     }
 }
 public App()
 {
     Mongo.Initialize(JsonConfigurator.GetConnectionStringFromConfigFile("config/db.json"));
 }