예제 #1
0
 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;
 }