示例#1
0
        /// <summary>
        /// 构造方法
        /// </summary>
        public CollectionAppService(IRepository <Collection, long> collectionRepository, CollectionManage collectionManage, IRepository <CourseInfo, long> courseInfoAppService2,
                                    ICourseInfoAppService courseInfoAppService)
        {
            _collectionRepository = collectionRepository;
            _collectionManage     = collectionManage;

            _courseInfoAppService  = courseInfoAppService;
            _courseInfoAppService2 = courseInfoAppService2;
        }
示例#2
0
        /// <summary>
        /// 构造方法
        /// </summary>
        public CollectionAppService(IRepository <Collection, int> collectionRepository, IRepository <Module, int> moduleRepository,
                                    CollectionManage collectionManage

                                    )
        {
            _collectionRepository = collectionRepository;
            _collectionManage     = collectionManage;
            _moduleRepository     = moduleRepository;
        }