Esempio n. 1
0
 public PostController(IPostRepository postRepository, IUserRepository userRepository, ICategoryRepository categoryRepository,
                       ITagRepository tagRepository, IPostGalleryRepository postGalleryRepository, IGalleryRepository galleryRepository)
 {
     _postRepository        = postRepository;
     _userRepository        = userRepository;
     _categoryRepository    = categoryRepository;
     _tagRepository         = tagRepository;
     _postGalleryRepository = postGalleryRepository;
     _galleryRepository     = galleryRepository;
 }
Esempio n. 2
0
		public GalleryController(IPostGalleryRepository postGalleryRepository, IGalleryRepository galleryRepository)
		{
			_postGalleryRepository = postGalleryRepository;
			_galleryRepository = galleryRepository;
		}
Esempio n. 3
0
 public PostGalleryService(IUnitOfWork unitOfWork, IPostGalleryRepository galleryRepository
                           , ICacheManager cacheManager) : base(unitOfWork, galleryRepository)
 {
     _galleryRepository = galleryRepository;
     _cacheManager      = cacheManager;
 }