public UsersBooksController(IUserBookService serv, IUserService serv2, IBookService serv3)
 {
     userBookService = serv;
     userService     = serv2;
     bookService     = serv3;
 }
 public UserBooksController(IUserBookRepository userBookRepository, IUserBookService userBookService)
 {
     _userBookRepository = userBookRepository;
     _userBookService    = userBookService;
 }
 public UserBooksApiController(IUserBookService serv)
 {
     userBookService = serv;
 }
Exemplo n.º 4
0
 public BookController(IRepository <Book> repository, IUserBookService userBookService)
 {
     _repository      = repository ?? throw new ArgumentNullException(nameof(repository));
     _userBookService = userBookService ?? throw new ArgumentNullException(nameof(userBookService));
 }
Exemplo n.º 5
0
 public UserBooksController(IUserBookService userBookService)
 {
     _userBookService = userBookService;
 }
Exemplo n.º 6
0
 public BookController(IBookService <Book> serv, IUserBookService servUB, IEntityBaseRepository <Error> errorsRepository, IUnitOfWork unitOfWork) : base(errorsRepository, unitOfWork)
 {
     service   = serv;
     serviceUB = servUB;
 }