Ejemplo n.º 1
0
 public BooksController(IUnitOfWork unitOfWork, IBookRepositoryService bookRepositoryService,
                        IRentBookRepositoryService rentBookRepositoryService, IBookRatingRepositoryService bookRatingRepositoryService)
 {
     this.unitOfWork                  = unitOfWork;
     this.bookRepositoryService       = bookRepositoryService;
     this.rentBookRepositoryService   = rentBookRepositoryService;
     this.bookRatingRepositoryService = bookRatingRepositoryService;
 }
Ejemplo n.º 2
0
 public UsersController(IUnitOfWork unitOfWork, IUserRepositoryService userRepositoryService, ITokenProvider tokenProvider, IUserManagementService userManagementService, IRentBookRepositoryService rentBookRepositoryService)
 {
     this.unitOfWork                = unitOfWork;
     this.userRepositoryService     = userRepositoryService;
     this.tokenProvider             = tokenProvider;
     this.userManagementService     = userManagementService;
     this.rentBookRepositoryService = rentBookRepositoryService;
 }