public NewsArticlesController(ILogger logger, INewsContext context, INewsArticlesService newsArticlesRepository, ICategoryService categoryRepository, INewsArticleTextService articleText) { _logger = logger; _context = context; _newsArticlesRepository = newsArticlesRepository; _categoryRepository = categoryRepository; _articleText = articleText; }
public LinksService(INewsContext context) : base(context) { }
public BaseApiController(INewsContext newsContext) { this.NewsContext = newsContext; }
public NewsController(INewsContext newsContext) : base(newsContext) { }
public NewsArticleTextService(INewsContext context) : base(context) { }
public NewsArticlesService(INewsContext context, ICacheManager cacheManager, IDbContext dappercontext) : base(context) { _cacheManager = cacheManager; _dbContext = dappercontext; }
public CategoryService(INewsContext context) : base(context) { }
public CategoryController(INewsContext context, ICategoryService categoryRepository) { _context = context; _categoryRepository = categoryRepository; }
public void TestInit() { tran = new TransactionScope(); newsContext = new NewsData(new NewsContext()); }
public NewsRepository(INewsContext context) { _context = context; }