Пример #1
0
 public Pie2Service(
     IPie2DataService pieDataService,
     IPastryService pastryService,
     IFillingService fillingService,
     ILogger logger,
     INowAdapter nowService)
 {
     _pieDataService = pieDataService;
     _pastryService  = pastryService;
     _fillingService = fillingService;
     _logger         = logger;
     _nowService     = nowService;
 }
Пример #2
0
 public PieService()
 {
     _pieDataService = new PieDataService();
     _pastryService  = new PastryService();
     _fillingService = new FillingService();
 }