public TopicWork(ICommentWork commentWork, IBannedWordWork bannedWordWork, IThreadWork threadWork, SettingWork settingWork) { _commentWork = commentWork; _bannedWordWork = bannedWordWork; _threadWork = threadWork; _settingWork = settingWork; _defaultSetting = _settingWork.GetDefaultSetting(); }
public CommentWork(IUploadFileWork uploadWork, IUploadFileCategoryWork uploadCategoryWork, IBannedWordWork bannedWordWork, SettingWork settingWork, ThreadWork threadWork, IRepository <ContentTopic> topicRepository) { _topicRepository = topicRepository; _uploadWork = uploadWork; _uploadCategoryWork = uploadCategoryWork; _bannedWordWork = bannedWordWork; _settingWork = settingWork; _threadWork = threadWork; _defaultSetting = _settingWork.GetDefaultSetting(); }