Ejemplo n.º 1
0
 public HomeController(ILogger <HomeController> logger, IArticleServices articleServices, ICategoryServices categoryServices, IAuthorServices authorServices, ISliderServices sliderServices, INewsServices newsServices, INCategoryServices nCategoryServices, IActivitiesServices activitiesServices, IVideoServices videoServices)
 {
     _logger             = logger;
     _articleServices    = articleServices;
     _categoryServices   = categoryServices;
     _authorServices     = authorServices;
     _sliderServices     = sliderServices;
     _newsServices       = newsServices;
     _nCategoryServices  = nCategoryServices;
     _activitiesServices = activitiesServices;
     _videoServices      = videoServices;
 }
Ejemplo n.º 2
0
        //Rol İşlemleri

        //private RoleManager<IdentityRole> _roleManager;
        //private UserManager<User> _UserManager;

        public AdminController(IArticleServices articleServices, IHostingEnvironment env, ICategoryServices categoryServices, IAuthorServices authorServices, INewsServices newsServices, INCategoryServices nCategoryServices, IVideoServices videoServices, ISliderServices sliderServices, IActivitiesServices activitiesServices)
        {
            _articleServices    = articleServices;
            _categoryServices   = categoryServices;
            _authorServices     = authorServices;
            _newsServices       = newsServices;
            _nCategoryServices  = nCategoryServices;
            _videoServices      = videoServices;
            _sliderServices     = sliderServices;
            _activitiesServices = activitiesServices;
            //_roleManager = IdentityRole;
            //_UserManager = userManager;
            _env = env;
        }
 public NewsInCategoriesViewComponent(INCategoryServices ncategoryServices)
 {
     _ncategoryServices = ncategoryServices;
 }
 public NCategoriesViewComponent(INCategoryServices ncategoriesServices)
 {
     this._ncategoriesServices = ncategoriesServices;
 }