Пример #1
0
 public HomeController(
     IGetCountsService countsService,
     ILandmarksService landmarksService,
     IHikesService hikesService)
 {
     this.countsService    = countsService;
     this.landmarksService = landmarksService;
     this.hikesService     = hikesService;
 }
Пример #2
0
 public HikesController(
     ICategoriesService categoriesService,
     IRegionsService regionsService,
     IMountainsService mountainsService,
     IHikesService hikesService,
     IHikeStartPointsService hikeStartPointsService,
     IHikeEndPointsService hikeEndPointsService,
     UserManager <ApplicationUser> userManager,
     IWebHostEnvironment hostEnvironment)
 {
     this.categoriesService      = categoriesService;
     this.regionsService         = regionsService;
     this.mountainsService       = mountainsService;
     this.hikesService           = hikesService;
     this.hikeStartPointsService = hikeStartPointsService;
     this.hikeEndPointsService   = hikeEndPointsService;
     this.userManager            = userManager;
     this.hostEnvironment        = hostEnvironment;
 }