public SiteMapController( ISitePageRepository sitePageRepository, ISitePageSectionRepository sitePageSectionRepository) { this.sitePageRepository = sitePageRepository; this.sitePageSectionRepository = sitePageSectionRepository; }
public CmsController( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IAuthorizationService authorizationService, ILoggerFactory loggerFactory, ISiteRepository siteRepository, ISitePageRepository sitePageRepository, ISectionRepository sectionRepository, IArticleRepository articleRepository, IBrandingRepository brandingRepository, ICarouselRepository carouselRepository, ICarouselSlideRepository carouselSlideRepository, IMenuRepository menuRepository, IMenuItemRepository menuItemRepository, Site site ) { _userManager = userManager; _signInManager = signInManager; _authorizationService = authorizationService; _logger = loggerFactory.CreateLogger <CmsController>(); this.siteRepository = siteRepository; this.sitePageRepository = sitePageRepository; this.sectionRepository = sectionRepository; this.articleRepository = articleRepository; this.brandingRepository = brandingRepository; this.carouselRepository = carouselRepository; this.carouselSlideRepository = carouselSlideRepository; this.menuRepository = menuRepository; this.menuItemRepository = menuItemRepository; this.site = site; }
public CommentManagementController( ISitePageCommentRepository sitePageCommentRepository, ISitePageRepository sitePageRepository, ISpamFilterService spamFilterService, UserManager <ApplicationUser> userManager) { this.sitePageCommentRepository = sitePageCommentRepository; this.sitePageRepository = sitePageRepository; this.spamFilterService = spamFilterService; this.userManager = userManager; }
public HomeController( IHttpContextAccessor accessor, ISpamFilterService spamFilterService, ISitePageCommentRepository stePageCommentRepository, ISitePageRepository sitePageRepository, ISitePageSectionRepository sitePageSectionRepository, ITagRepository tagRepository, IMemoryCache memoryCache, ICacheService cacheService) { this.accessor = accessor; this.spamFilterService = spamFilterService; this.sitePageCommentRepository = stePageCommentRepository; this.sitePageRepository = sitePageRepository; this.sitePageSectionRepository = sitePageSectionRepository; this.tagRepository = tagRepository; this.memoryCache = memoryCache; this.cacheService = cacheService; }
public SitePageManagementController( ISitePagePhotoRepository sitePagePhotoRepository, ISitePageTagRepository sitePageTagRepository, ISitePageSectionRepository siteSectionRepository, ITagRepository tagRepository, ISitePageRepository sitePageRepository, ISiteFilesRepository siteFilesRepository, IImageUploaderService imageUploaderService, IMemoryCache memoryCache, ICacheService cacheService, UserManager <ApplicationUser> userManager) { this.sitePagePhotoRepository = sitePagePhotoRepository; this.sitePageTagRepository = sitePageTagRepository; this.siteSectionRepository = siteSectionRepository; this.tagRepository = tagRepository; this.sitePageRepository = sitePageRepository; this.siteFilesRepository = siteFilesRepository; this.imageUploaderService = imageUploaderService; this.memoryCache = memoryCache; this.cacheService = cacheService; this.userManager = userManager; }