/// <summary> /// 构造方法 /// </summary> public CollectionAppService(IRepository <Collection, long> collectionRepository, CollectionManage collectionManage, IRepository <CourseInfo, long> courseInfoAppService2, ICourseInfoAppService courseInfoAppService) { _collectionRepository = collectionRepository; _collectionManage = collectionManage; _courseInfoAppService = courseInfoAppService; _courseInfoAppService2 = courseInfoAppService2; }
/// <summary> /// 构造方法 /// </summary> public CollectionAppService(IRepository <Collection, int> collectionRepository, IRepository <Module, int> moduleRepository, CollectionManage collectionManage ) { _collectionRepository = collectionRepository; _collectionManage = collectionManage; _moduleRepository = moduleRepository; }