Esempio n. 1
0
 public BlogsController(IBlogRepository blogRepository, IPostRepository postRepository,
                        IUserRepository userRepository,
                        IUnitOfWork unitOfWork, IBlogService blogService,
                        IWordPressBlogReader wordPressBlogReader)
 {
     _blogRepository      = blogRepository;
     _postRepository      = postRepository;
     _userRepository      = userRepository;
     _unitOfWork          = unitOfWork;
     _blogService         = blogService;
     _wordPressBlogReader = wordPressBlogReader;
 }
 public BlogsController(IBlogRepository blogRepository, IPostRepository postRepository,
                             IUserRepository userRepository,
                             IUnitOfWork unitOfWork, IBlogService blogService, 
                             IWordPressBlogReader wordPressBlogReader)
 {
     _blogRepository = blogRepository;
     _postRepository = postRepository;
     _userRepository = userRepository;
     _unitOfWork = unitOfWork;
     _blogService = blogService;
     _wordPressBlogReader = wordPressBlogReader;
 }
Esempio n. 3
0
 //IWordPressBlogReader wordPressBlogReader,
 //ILogger logger)
 public BlogService(
     IBlogRepository blogRepository,
     IPostRepository postRepository,
     IUnitOfWork unitOfWork,
     IWordPressBlogReader wordPressBlogReader)
 {
     _blogRepository = blogRepository;
     _postRepository = postRepository;
     _unitOfWork = unitOfWork;
     _wordPressBlogReader = wordPressBlogReader;
     //_logger = logger;
     _logger = LogManager.GetCurrentClassLogger();
 }
Esempio n. 4
0
 public BlogService(
     IBlogRepository blogRepository,
     IPostRepository postRepository,
     IUnitOfWork unitOfWork,
     IWordPressBlogReader wordPressBlogReader)
 //IWordPressBlogReader wordPressBlogReader,
 //ILogger logger)
 {
     _blogRepository      = blogRepository;
     _postRepository      = postRepository;
     _unitOfWork          = unitOfWork;
     _wordPressBlogReader = wordPressBlogReader;
     //_logger = logger;
     _logger = LogManager.GetCurrentClassLogger();
 }