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 VideoController(IVideoService videoService, IReplyService replyService, IImageInfoService imageInfoService, IBelongService belongService, IVideoClassService videoClassService) { _videoService = videoService; _imageService = imageInfoService; _belongService = belongService; _videoClassService = videoClassService; }
public BelongController(IBelongService BelongService) { _BelongService = BelongService; }