示例#1
0
 public UsersController(IMapper mapper, UsersService usersService, BorrowsService borrowsService, ReviewsService reviewsService, RolesService rolesService)
 {
     Borrows = borrowsService;
     Reviews = reviewsService;
     Mapper  = mapper;
     Users   = usersService;
     Roles   = rolesService;
 }
示例#2
0
 public ReviewsController(ReviewsService reviewsService, IMapper mapper, BooksService booksService, UsersService usersService, BorrowsService borrowsService)
 {
     Users   = usersService;
     Books   = booksService;
     Reviews = reviewsService;
     Borrows = borrowsService;
     Mapper  = mapper;
 }
示例#3
0
 public BorrowsController(BorrowsService borrowsService, IMapper mapper, UsersService usersService, BooksService booksService, RolesService rolesService)
 {
     Roles   = rolesService;
     Books   = booksService;
     Users   = usersService;
     Mapper  = mapper;
     Borrows = borrowsService;
 }