Example #1
0
 public MainCore(string server, string database)
 {
     db = new MongoCRUD <DMModel>(server, database);
 }
 public ToDoController(IMongoCRUD db)
 {
     _db = db;
 }