示例#1
0
 public BlogController(IPostCategoryService postCategoryService, IPostService postService, ICommentService commentService, IReviewService reviewService, IReportCategoryService reportCategoryService, IReportService reportService, ImageService imageService, TimeZoneService timeZoneService, IWebHostEnvironment webHostEnvironment, UserManager <ApplicationUser> userManager, ILogger <BlogController> logger, IConfiguration configuration)
 {
     _postCategoryService   = postCategoryService;
     _postService           = postService;
     _commentService        = commentService;
     _reviewService         = reviewService;
     _reportCategoryService = reportCategoryService;
     _reportService         = reportService;
     _imageService          = imageService;
     _timeZoneService       = timeZoneService;
     _webHostEnvironment    = webHostEnvironment;
     _userManager           = userManager;
     _logger        = logger;
     _configuration = configuration;
 }
示例#2
0
 public ReportCategoriesController(IReportCategoryService reportCategoryService)
 {
     _reportCategoryService = reportCategoryService;
 }