public HomePresentationService(IGalleryItemRepository galleryItemRepository,
                                IMenuItemRepository menuItemRepository,
                                ISliderItemRepository sliderItemRepository,
                                IInformationItemRepository informationItemRepository,
                                IEventRepository eventRepository,
                                INewsRepository newsRepository)
 {
     _galleryItemRepository = galleryItemRepository;
     _menuItemRepository    = menuItemRepository;
     _sliderItemRepository  = sliderItemRepository;
     _informationRepository = informationItemRepository;
     _eventRepository       = eventRepository;
     _newsRepository        = newsRepository;
 }
示例#2
0
 public GalleryItemService(IGalleryItemRepository galleryItemRepository, IUnitOfWork unitOfWork)
 {
     this.galleryItemRepository = galleryItemRepository;
     this.unitOfWork            = unitOfWork;
 }
 public GalleryItemService(IGalleryItemRepository customerRepository)
 {
     _customerRepository = customerRepository;
 }