示例#1
0
 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();
 }
示例#2
0
 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();
 }