Esempio n. 1
0
 public HomeController(
     IGetCountsService service,
     IRecipesService recipesService)
 {
     this.service        = service;
     this.recipesService = recipesService;
 }
Esempio n. 2
0
 public HomeController(
     IGetCountsService countsService,
     IProductsService productsService,
     IConfiguration configuration)
 {
     this.countsService   = countsService;
     this.productsService = productsService;
 }
Esempio n. 3
0
 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;
 }
Esempio n. 5
0
 public HomeController(IGetCountsService getCountsService)
 {
     this.getCountsService = getCountsService;
 }
Esempio n. 6
0
 public HomeController(IGetCountsService countsService)
 {
     this.countsService = countsService;
 }
Esempio n. 7
0
 public HomeController(IGetCountsService countsService, IProductsService productsService)
 {
     this.countsService   = countsService;
     this.productsService = productsService;
 }
Esempio n. 8
0
 public HomeController(IGetCountsService getCountsService, IPostsService postsService)
 {
     this.getCountsService = getCountsService;
     this.postsService     = postsService;
 }
Esempio n. 9
0
 public CategoriesController(ICategoriesService categoriesService, IGetCountsService getCountsService)
 {
     this.categoriesService = categoriesService;
     this.getCountsService  = getCountsService;
 }
Esempio n. 10
0
        // 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;
        }