public ProblemController(IProblemService ProblemService, IProblemCategoryService ProblemCategoryService, IBelongService BelongService, IChapterService ChapterService, ISubjectInfoService SubjectInfoService, IProblemLibraryService ProblemLibraryService, IAnswerService AnswerService, IGrabTopicService grabTopic, IExamClassService examClassService, IExamProblemService examProblemService, IExamAnswerService examAnswerService, IImageInfoService imageInfoService) { _ProblemService = ProblemService; _ProblemCategoryService = ProblemCategoryService; _BelongService = BelongService; _ChapterService = ChapterService; _SubjectInfoService = SubjectInfoService; _ProblemLibraryService = ProblemLibraryService; _AnswerService = AnswerService; _grabTopic = grabTopic; _examClassService = examClassService; _examProblemService = examProblemService; _examAnswerService = examAnswerService; _imageInfoService = imageInfoService; }
//方式2 public QuestionController(IQuestionService qeustionService, IReplyService replyService, ISysGroupService sysGroupService, IImageInfoService imageInfoService) { _qeustionService = qeustionService; _replyService = replyService; }
/// <summary> /// /// </summary> /// <param name="unitOfWork"></param> /// <param name="imageService"></param> /// <param name="articleThumbsUpService"></param> public ArticleInfoService(IUnitOfWork unitOfWork, IImageInfoService imageService, IArticleThumbsUpService articleThumbsUpService) : base("CAAdmin") { _imageService = imageService; _articleThumbsUpService = articleThumbsUpService; }
//方式2 public VideoController(IVideoService videoService, IReplyService replyService, IImageInfoService imageInfoService, IBelongService belongService, IVideoClassService videoClassService) { _videoService = videoService; _imageService = imageInfoService; _belongService = belongService; _videoClassService = videoClassService; }
public UserInfoController(IUserInfoService userService, IGradeService gradeService, ISysGroupService sysGroupService, IImageInfoService imageInfoService) { _userService = userService; _gradeService = gradeService; _sysGroupService = sysGroupService; _imageInfoService = imageInfoService; }
public ArticleInfoService(IUnitOfWork unitOfWork, IImageInfoService imageService, IArticleThumbsUpService articleThumbsUpService, ICacheManager cacheManager) : base("CAAdmin") { _imageService = imageService; _articleThumbsUpService = articleThumbsUpService; _cacheManager = cacheManager; }
public NewsInfoController(INewsInfoService NewsInfoService, IImageInfoService imageInfoService, INewsCategoryService newsCategoryService) { _newsInfoService = NewsInfoService; _newsCategoryService = newsCategoryService; _imageInfoService = imageInfoService; }
public AdManageController(IAdvertisementService AdvertisementService, IImageInfoService imageInfoService) { _AdvertisementService = AdvertisementService; _imageInfoService = imageInfoService; }
//方式2 public VideoClassController(IVideoClassService videoClassService, IImageInfoService imageInfoService) { _videoClassService = videoClassService; _imageInfoService = imageInfoService; }
public UploaderController(IImageInfoService baseImgInfoService) { _baseImgInfoService = baseImgInfoService; }
public LecturerController(ILecturerService LecturerService, IImageInfoService imageInfoService) { _LecturerService = LecturerService; _imageInfoService = imageInfoService; }
public ImageInfoController(IImageInfoService imageInfoService) { this.imageInfoService = imageInfoService; }