Ejemplo 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;
 }
Ejemplo n.º 2
0
		public GalleryController(IPostGalleryRepository postGalleryRepository, IGalleryRepository galleryRepository)
		{
			_postGalleryRepository = postGalleryRepository;
			_galleryRepository = galleryRepository;
		}
Ejemplo n.º 3
0
 public PostGalleryService(IUnitOfWork unitOfWork, IPostGalleryRepository galleryRepository
                           , ICacheManager cacheManager) : base(unitOfWork, galleryRepository)
 {
     _galleryRepository = galleryRepository;
     _cacheManager      = cacheManager;
 }