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