public AdminCategoriesController(IRepositoryArticle repositoryArticle, IRepositoryCategory repositoryCategory, IOptions <AppSettings> settings) { _repositoryArticle = repositoryArticle; _repositoryCategory = repositoryCategory; _settings = settings.Value; }
public HomeController(IRepositoryArticle repositoryArticle, IRepositoryCategory repositoryCategory, IRepositoryKW repositoryKW, IOptions <AppSettings> settings) { _repositoryArticle = repositoryArticle; _repositoryCategory = repositoryCategory; _repositoryKW = repositoryKW; _settings = settings.Value; }
public AdminArticlesController(IRepositoryUser repositoryUser, IRepositoryCompany repositoryCompany, IRepositoryArticle repositoryArticle, IRepositoryImage repositoryImage, IRepositoryKW repositoryKW, IOptions <AppSettings> settings) { _repositoryUser = repositoryUser; _repositoryCompany = repositoryCompany; _repositoryArticle = repositoryArticle; _repositoryImage = repositoryImage; _repositoryKW = repositoryKW; _settings = settings.Value; }