public BooksController(IUnitOfWork unitOfWork, IBookRepositoryService bookRepositoryService, IRentBookRepositoryService rentBookRepositoryService, IBookRatingRepositoryService bookRatingRepositoryService) { this.unitOfWork = unitOfWork; this.bookRepositoryService = bookRepositoryService; this.rentBookRepositoryService = rentBookRepositoryService; this.bookRatingRepositoryService = bookRatingRepositoryService; }
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; }