Exemple #1
0
 public ZooDailyFeedingCostCalculator(IRateRepository rateRepository, IPriceRepository priceRepository,
                                      IZooRepository zooRepository)
 {
     _rateRepository  = rateRepository;
     _priceRepository = priceRepository;
     _zooRepository   = zooRepository;
 }
Exemple #2
0
 public ZooManager(IZooRepository ZooRepository)
 {
     this.ZooRepository = ZooRepository;
     this.date = DateTime.Now;
 }