public static void KeepIt()
    {
        ZooKeeperManager manager = new ZooKeeperManager();
        ElephantKeeper   keeper  = new ElephantKeeper();

        manager.RegisterZooKeeper(keeper);
        manager.CareForAnimal(new Elephant());
    }
Пример #2
0
 public ApiController(ZooKeeperManager _zkMamager)
 {
     zkManager = _zkMamager;
 }