示例#1
0
 public CommunityController(INoticeViewModel noticeViewModel,
                            IFaqViewModel faqViewModel,
                            INoticeService noticeService,
                            IFaqService faqService,
                            IHttpContextAccessor accessor,
                            IQnaViewModel qnaViewModel,
                            IQnaService qnaService,
                            IHostingEnvironment hostingEnvironment,
                            Microsoft.Extensions.Configuration.IConfiguration configuration)
 {
     _noticeService      = noticeService;
     _noticeViewModel    = noticeViewModel;
     _faqViewModel       = faqViewModel;
     _faqService         = faqService;
     _accessor           = accessor;
     _qnaViewModel       = qnaViewModel;
     _qnaService         = qnaService;
     _hostingEnvironment = hostingEnvironment;
     _configuration      = configuration;
 }
示例#2
0
 public CommunityController(INoticeViewModel noticeViewModel,
                            IFaqViewModel faqViewModel,
                            INoticeService noticeService,
                            IFaqService faqService,
                            IHttpContextAccessor accessor,
                            IQnaViewModel qnaViewModel,
                            IQnaService qnaService,
                            IHostingEnvironment hostingEnvironment,
                            IDbRecordService dbRecordService,
                            IConfiguration configuration)
 {
     _noticeService      = noticeService;
     _noticeViewModel    = noticeViewModel;
     _faqViewModel       = faqViewModel;
     _faqService         = faqService;
     _accessor           = accessor;
     _qnaViewModel       = qnaViewModel;
     _qnaService         = qnaService;
     _hostingEnvironment = hostingEnvironment;
     _configuration      = configuration;
     _dbRecordService    = dbRecordService;
 }