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; }
public BookController(IRepository <Book> repository, IUserBookService userBookService) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _userBookService = userBookService ?? throw new ArgumentNullException(nameof(userBookService)); }
public UserBooksController(IUserBookService userBookService) { _userBookService = userBookService; }
public BookController(IBookService <Book> serv, IUserBookService servUB, IEntityBaseRepository <Error> errorsRepository, IUnitOfWork unitOfWork) : base(errorsRepository, unitOfWork) { service = serv; serviceUB = servUB; }