public void DeleteDog(string id) { Dog dog = getDog(id); collectionDog.DeleteOne(a => a.ID == dog.ID); }
public void AddDog(Dog dog) { collectionDog.InsertOne(dog); }