/// <summary>
 /// 构造函数
 ///</summary>
 public BookListAppService(
     IRepository <BookList, long> entityRepository
     , IBookListManager entityManager,
     IBookListAndBookRelationshipManager bookListAndBookRelationshipManager,
     IBookManager bookManager
     )
 {
     _entityRepository = entityRepository;
     _entityManager    = entityManager;
     _bookListAndBookRelationshipManager = bookListAndBookRelationshipManager;
     _bookManager = bookManager;
 }
예제 #2
0
        /// <summary>
        /// 构造函数
        ///</summary>
        public BookListAppService(
            IRepository <BookList, long> bookListRepository
            , IBookListManager bookListManager,
            IRepository <Book, long> bookRepository


            )
        {
            _bookListRepository = bookListRepository;
            _bookListManager    = bookListManager;
            _bookRepository     = bookRepository;
        }