public NewsController(INewsService newsService, IUnitOfWork unitOfWork,
                       IRssSourceService rssSourceService, ICommentService commentService,
                       IMapper mapper, IExchangeService exchangeService)
 {
     _newsService      = newsService;
     _unitOfWork       = unitOfWork;
     _rssSourceService = rssSourceService;
     _commentService   = commentService;
     _mapper           = mapper;
     _exchangeService  = exchangeService;
 }
Beispiel #2
0
 public NewsService(IUnitOfWork wrapper, IMapper mapper, ICategoryService categoryService, IRssSourceService rssSourceService,
                    TutByParser tutByParser, OnlinerParser onlinerParser, IgromaniaParser igromaniaParser, OONParser oONParser, ITexterra texterra)
 {
     _unitOfWork       = wrapper;
     _mapper           = mapper;
     _categoryService  = categoryService;
     _rssSourceService = rssSourceService;
     _tutByParser      = tutByParser;
     _onlinerParser    = onlinerParser;
     _igromaniaParser  = igromaniaParser;
     _OONParser        = oONParser;
     _texterra         = texterra;
 }
Beispiel #3
0
 public NewsController(INewsService newsService, IRssSourceService rssSourceService,
                       IgromaniaParser igromaniaParser, ShazooParser shazooParser,
                       OnlinerParser onlinerParser, ForPdaParser forPdaParser, WylsaParser wylsaParser,
                       IMapper mapper, ICommentService commentService)
 {
     _newsService      = newsService;
     _rssSourceService = rssSourceService;
     _igromaniaParser  = igromaniaParser;
     _shazooParser     = shazooParser;
     _onlinerParser    = onlinerParser;
     _4PdaParser       = forPdaParser;
     _wylsaParser      = wylsaParser;
     _mapper           = mapper;
     _commentService   = commentService;
 }
Beispiel #4
0
 public RssSourcesController(IRssSourceService rssService)
 {
     _rssService = rssService;
 }
Beispiel #5
0
 public RssSoursesController(IRssSourceService rssSourceService, IUnitOfWork unitOfWork)
 {
     _rssSourceService = rssSourceService;
     _unitOfWork       = unitOfWork;
 }
 public ManageSourceHandler(IUnitOfWork pUoW, IRssSourceService pService)
 {
     this.iUoW  = pUoW;
     this.iServ = pService;
 }