Exemplo n.º 1
0
 public LearningWorldController(IArticle article, IArticleCategory articleCategory,
                                ILearningGardenCarousel learnGardenCarousel, IFarm farmService,
                                IFarmArea farmAreaService, IUser userService, IFarmBooking farmBookingService)
 {
     _article         = article;
     _articleCategory = articleCategory;
     _learningGardenCarouselService = learnGardenCarousel;
     _farmService        = farmService;
     _farmAreaService    = farmAreaService;
     _userService        = userService;
     _farmBookingService = farmBookingService;
 }
Exemplo n.º 2
0
 public LearnGardenController(IPermissionProvider permissionProvider,
                              IAdminUser adminUserRepository, IArticle articleService,
                              IFarm farmService, IFarmArea farmAreaService, IArea areaService,
                              INotification notificationService,
                              IFarmBooking farmBookService
                              )
     : base(permissionProvider, adminUserRepository)
 {
     _articleService      = articleService;
     _farmService         = farmService;
     _farmAreaService     = farmAreaService;
     _areaService         = areaService;
     _notificationService = notificationService;
     _farmBookService     = farmBookService;
 }