Beispiel #1
0
        public void DeleteDog(string id)
        {
            Dog dog = getDog(id);

            collectionDog.DeleteOne(a => a.ID == dog.ID);
        }
Beispiel #2
0
 public void AddDog(Dog dog)
 {
     collectionDog.InsertOne(dog);
 }