Beispiel #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;
 }
Beispiel #2
0
 public TiresController(
     ITiresService tiresService,
     IFileSaver fileSaver,
     IIdentifierProvider identifierProvider,
     IStatisticsHubCorresponder statisticsHubCorresponder,
     IStatisticsService statisticsService
     )
 {
     this.tiresService              = tiresService;
     this.fileSaver                 = fileSaver;
     this.identifierProvider        = identifierProvider;
     this.statisticsHubCorresponder = statisticsHubCorresponder;
     this.statisticsService         = statisticsService;
 }
 public AddMaintenanceForm()
 {
     InitializeComponent();
     logger              = new Logger.Logger();
     oilService          = new OilService();
     taxService          = new TaxService();
     tiresService        = new TiresService();
     clutchService       = new ClutchService();
     batteryService      = new BatteryService();
     reviewService       = new ReviewService();
     coolantService      = new CoolantService();
     oilFilterService    = new OilFilterService();
     brakeFluidService   = new BrakeFluidService();
     rearBrakesService   = new RearBrakesService();
     frontBrakesService  = new FrontBrakesService();
     maintenanceService  = new MaintenanceService();
     contributionService = new ContributionService();
 }