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