public AdminBusinessService(IBookService bookService, IUserService userService, IRoleService roleService, IBookTransactionService transactionService, ICommentService commentService, IBcBookService bookcityService) { this.bookService = bookService; this.userService = userService; this.roleService = roleService; this.transactionService = transactionService; this.commentService = commentService; this.bookcityService = bookcityService; this.mapper = MapperConfig.MapperInitialize(); }
public BookBusinessService(IMemoryCache cache, IBookService bookService, IUserService userService, IBookTransactionService transactionService, ICommentService commentService, IBcBookService bookcityService) { this.cache = cache; this.bookService = bookService; this.userService = userService; this.transactionService = transactionService; this.commentService = commentService; this.bookcityService = bookcityService; this.mapper = MapperConfig.MapperInitialize(); }