public ArticlesApiController( ILog log, IServices services, IRetrievers retrievers, IRepositories repositories) : base(log) { this.articlesRepository = repositories.ArticlesRepository; this.articlesRetriever = retrievers.ArticlesRetriever; this.articlesService = services.ArticlesService; }
public ArticlesRetriever_Tests() { IRetrievers retrievers = DependencyResolver.Resolve <IRetrievers>(); this.articlesRetriever = retrievers.ArticlesRetriever; IRepositories repositories = DependencyResolver.Resolve <IRepositories>(); this.articlesRepository = repositories.ArticlesRepository; this.articleRolesRepository = repositories.ArticleRolesRepository; this.categoriesRepository = repositories.CategoriesRepository; this.articleCategoriesRepository = repositories.ArticleCategoriesRepository; this.roleManager = DependencyResolver.Resolve <RoleManager <ApplicationRole> >(); }
public HomeController(ILog log, IRetrievers retrievers, UserManager <ApplicationUser> userManager) : base(log, userManager) { this.articlesRetriever = retrievers.ArticlesRetriever; }
public ArticleController(ILog log, IRetrievers retrievers) : base(log) { this.articlesRetriever = retrievers.ArticlesRetriever; this.imagesRetriever = retrievers.ImagesRetriever; }
public SearchArticlesController(ILog log, IRetrievers retrievers, IRepositories repositories, UserManager <ApplicationUser> userManager) : base(log, userManager) { this.articlesRetriever = retrievers.ArticlesRetriever; this.categoriesRepository = repositories.CategoriesRepository; }