public VoteService(IApplicationUserService ApplicationUserService, INewsArticleService NewsArticleService, Repository dbContext) : base(dbContext) { applicationUserService = ApplicationUserService; newsArticleService = NewsArticleService; }
public NewsController(IHtmlService html, UserManager <Customer> customers, INewsArticleService newsArticles, ICommentService comments) { this._html = html; this._newsArticles = newsArticles; this._customers = customers; this._comments = comments; }
public CustomersController(IAdminUserService users, RoleManager <IdentityRole> roleManager, UserManager <Customer> userManager, IComponentService components, INewsArticleService newsArticles, IOrderService orderService) { this._users = users; this._roleManager = roleManager; this._userManager = userManager; this._components = components; this._newsArticles = newsArticles; this._orderService = orderService; }
public DataToRdfService( ITwitterUserService twitterUserService, INewsArticleService newsArticleService, IVoteService voteService, IApplicationUserService applicationUserService) { this.twitterUserService = twitterUserService; this.newsArticleService = newsArticleService; this.voteService = voteService; this.applicationUserService = applicationUserService; }
public NewsArticlesServiceShould() { var options = new DbContextOptionsBuilder <Repository>() .UseInMemoryDatabase(databaseName: "Add_writes_to_database" + this.GetHashCode()) .Options; var ctx = new Repository(options); twitterUserService = new TwitterUserService(ctx); IOptions <ProcessingUnitConfig> processingUnitConfig = Options.Create <ProcessingUnitConfig>(new ProcessingUnitConfig()); newsArticleService = new NewsArticleService(twitterUserService, processingUnitConfig, ctx); }
public NewsArticleController(INewsArticleService articleService, ICategoryService categoryService, ILogger <NewsArticleController> logger) { _articleService = articleService; _categoryService = categoryService; _logger = logger; }
public NewsArticlesController(INewsArticleService newsArticleService) { NewsArticleService = newsArticleService; }
public PartialsDemoController(INewsArticleService newsArticleService) { _newsArticleService = newsArticleService; }
public NewsArticleController(INewsArticleService newsArticleService, INewsArticleCategoryService newsArticleCategoryService, UserManager <User> userManager) { this.newsArticleService = newsArticleService; this.newsArticleCategoryService = newsArticleCategoryService; this.userManager = userManager; }
public NewsArticleController(INewsArticleService newsArticleService) { this.newsArticleService = newsArticleService; }
public NewsComponent(INewsArticleService newsArticleService) { _newsArticleService = newsArticleService; }