public MessagesController(
     IMessagesService messagesService,
     IAutopartsService autopartsService,
     IUsersService usersService)
 {
     this.messagesService  = messagesService;
     this.autopartsService = autopartsService;
     this.usersService     = usersService;
 }
Beispiel #2
0
 public SearchController(
     IAutopartsService autopartsService,
     ICarsService carsService,
     IAutopartsCharacteristicsService autopartsCharacteristicsService)
 {
     this.autopartsService = autopartsService;
     this.carsService      = carsService;
     this.autopartsCharacteristicsService = autopartsCharacteristicsService;
 }
Beispiel #3
0
 public AutopartsController(
     IAutopartsService autopartsService,
     ICarsService carsService,
     IAutopartsCharacteristicsService autopartsCharacteristicsService,
     IWebHostEnvironment env,
     IFavoritesService favoritesService)
 {
     this.autopartsService = autopartsService;
     this.carsService      = carsService;
     this.autopartsCharacteristicsService = autopartsCharacteristicsService;
     this.env = env;
     this.favoritesService = favoritesService;
 }
 public AutopartsController(IAutopartsService autopartsService, IMakesService makesService, ICategoriesService categoryService)
 {
     this.autopartsService  = autopartsService;
     this.makesService      = makesService;
     this.categoriesService = categoryService;
 }