コード例 #1
0
 public SiteMapController(
     ISitePageRepository sitePageRepository,
     ISitePageSectionRepository sitePageSectionRepository)
 {
     this.sitePageRepository        = sitePageRepository;
     this.sitePageSectionRepository = sitePageSectionRepository;
 }
コード例 #2
0
ファイル: HomeController.cs プロジェクト: ryn0/WebPagePub
 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;
 }
コード例 #3
0
 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;
 }