예제 #1
0
 public AdminCategoriesController(IRepositoryArticle repositoryArticle,
                                  IRepositoryCategory repositoryCategory,
                                  IOptions <AppSettings> settings)
 {
     _repositoryArticle  = repositoryArticle;
     _repositoryCategory = repositoryCategory;
     _settings           = settings.Value;
 }
예제 #2
0
 public HomeController(IRepositoryArticle repositoryArticle,
                       IRepositoryCategory repositoryCategory,
                       IRepositoryKW repositoryKW,
                       IOptions <AppSettings> settings)
 {
     _repositoryArticle  = repositoryArticle;
     _repositoryCategory = repositoryCategory;
     _repositoryKW       = repositoryKW;
     _settings           = settings.Value;
 }
예제 #3
0
 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;
 }