Пример #1
0
 public FeedService(IUnitOfWork unitOfWork, IMapper mapper, IFeedNewsService feedNewsService, IMemoryCache memoryCache)
 {
     _unitOfWork      = unitOfWork;
     _mapper          = mapper;
     _feedNewsService = feedNewsService;
     _memoryCache     = memoryCache;
 }
Пример #2
0
 public SharedController(ICategoryService categoryService, IFeedNewsService feedNewsService)
 {
     this.CategoryService = categoryService;
     this.FeedNewsService = feedNewsService;
 }
Пример #3
0
 public FeedNewsController(IFeedNewsService feedNewsService, IFeedNewsResponseCreator feedNewsResponseCreator)
 {
     _feedNewsService         = feedNewsService;
     _feedNewsResponseCreator = feedNewsResponseCreator;
 }
Пример #4
0
 public HomeController(INewsService newsService, IFeedNewsService feedFewsService)
 {
     this.newsService     = newsService;
     this.feedFewsService = feedFewsService;
 }
Пример #5
0
 public NewsController(IFeedNewsService feedService, IUpcomingNewsService upcomingService, IImageService imageService)
 {
     FeedService     = feedService;
     UpcomingService = upcomingService;
     ImageService    = imageService;
 }
Пример #6
0
 public NewsController(IFeedNewsService feedService, IUpcomingNewsService upcomingService, IImageService imageService)
 {
     FeedService = feedService;
     UpcomingService = upcomingService;
     ImageService = imageService;
 }