Пример #1
0
 public HomeController(
     ITiresService tiresService,
     IRimsService rimsService,
     IRimsWithTiresService rimsWithTyresService,
     ICacheService cacheService,
     IStatisticsService statisticsService)
 {
     this.tiresService         = tiresService;
     this.rimsService          = rimsService;
     this.rimsWithTyresService = rimsWithTyresService;
     this.cacheService         = cacheService;
     this.statisticsService    = statisticsService;
 }
Пример #2
0
 public RimsWithTiresController(
     IRimsWithTiresService rimWithTireService,
     IFileSaver fileSaver,
     IIdentifierProvider identifierProvider,
     IStatisticsHubCorresponder statisticsHubCorresponder,
     IStatisticsService statisticsService
     )
 {
     this.rimWithTireService        = rimWithTireService;
     this.fileSaver                 = fileSaver;
     this.identifierProvider        = identifierProvider;
     this.statisticsHubCorresponder = statisticsHubCorresponder;
     this.statisticsService         = statisticsService;
 }