public HomeController( IGetCountsService service, IRecipesService recipesService) { this.service = service; this.recipesService = recipesService; }
public HomeController( IGetCountsService countsService, IProductsService productsService, IConfiguration configuration) { this.countsService = countsService; this.productsService = productsService; }
public HomeController( IGetCountsService countsService, ILandmarksService landmarksService, IHikesService hikesService) { this.countsService = countsService; this.landmarksService = landmarksService; this.hikesService = hikesService; }
public HomeController( IGetCountsService countsService, IAnimalService animalService, IClinicService clinicService, IPublicationService publicationService, IHotelService hotelService, ISosSignalService sosSignalService) { this.countsService = countsService; this.animalService = animalService; this.clinicService = clinicService; this.publicationService = publicationService; this.hotelService = hotelService; this.sosSignalService = sosSignalService; }
public HomeController(IGetCountsService getCountsService) { this.getCountsService = getCountsService; }
public HomeController(IGetCountsService countsService) { this.countsService = countsService; }
public HomeController(IGetCountsService countsService, IProductsService productsService) { this.countsService = countsService; this.productsService = productsService; }
public HomeController(IGetCountsService getCountsService, IPostsService postsService) { this.getCountsService = getCountsService; this.postsService = postsService; }
public CategoriesController(ICategoriesService categoriesService, IGetCountsService getCountsService) { this.categoriesService = categoriesService; this.getCountsService = getCountsService; }
// 2.2 private readonly IMapper mapper; // 1 public HomeController(IGetCountsService countsService) // 2.2 public HomeController(IGetCountsService countsService, IMapper mapper) public HomeController(IGetCountsService countsService) { // 1 this.countsService = countsService; // 2.2 this.mapper = mapper; this.countsService = countsService; }