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