public CategoriesController(ICategoryService categoryService, IBookCategoryService bookCategoryService, IMapper mapper) { this.categoryService = categoryService; this.bookCategoryService = bookCategoryService; this.mapper = mapper; }
public BooksController(LinkGenerator linkGenerator, ILogger <BooksController> logger, IBookService bookService, IBookCategoryService bookCategoryService) { _linkGenerator = linkGenerator; _logger = logger; _bookService = bookService; _bookCategoryService = bookCategoryService; }
public HomeController(IQuotationService quotationService, IInformationService informationService, IBookCategoryService bookCategoryService, IBookService bookService) { this._quotationService = quotationService; this._informationService = informationService; this._bookCategoryService = bookCategoryService; this._bookService = bookService; }
public BookManager(IMapper mapper, IBookService service, IBookCategoryService categoryService, IPublishingHouseService publishingHouseService, IBookInfoService bookInfoService) { _service = service; _categoryService = categoryService; _publishingHouseService = publishingHouseService; _bookInfoService = bookInfoService; }
public BookController( IBookService bookService, IBookCategoryService bookCategoryService, IBookAuthorService bookAuhtorService, IMapper mapper) { this._mapper = mapper; this._bookService = bookService; this._bookCategoryService = bookCategoryService; this._bookAuhtorService = bookAuhtorService; }
public TypeEbookController(ITypeEbookService typeEbookService, IUserService userService, IAuthorService authorService, IBookCategoryService bookCategoryService, IBookService bookService, IEbookService ebookService) { this._authorService = authorService; this._bookCategoryService = bookCategoryService; this._bookService = bookService; this._ebookService = ebookService; this._userService = userService; this._typeEbookService = typeEbookService; }
private readonly IBookCategoryService _bookCategoryService; // not used public BooksController(IBookService bookService, IBookRepository bookRepository, IBookCategoryService bookCategoryService) { _bookCategoryService = bookCategoryService; _bookService = bookService; _bookRepository = bookRepository; // IMO it's a bit of a code smell when you have a controller (or service) that is operating at multiple levels of abstraction (repos vs services) // This is true even if they're for different things - it's especially true when they're both for the same thing (bookRepo, bookService) }
public QuotationController(IQuotationService quotationService, ITypeEbookService typeEbookService, IUserService userService, IAuthorService authorService, IBookCategoryService bookCategoryService, IBookService bookService, IEbookService ebookService) { this._authorService = authorService; this._quotationService = quotationService; this._bookCategoryService = bookCategoryService; this._bookService = bookService; this._ebookService = ebookService; this._userService = userService; this._typeEbookService = typeEbookService; }
public BookInfoManager(IBookInfoService service, IMapper mapper, IBookCategoryService categoryService, IPublishingHouseService publishingHouseService ) { _service = service; _categoryService = categoryService; _publishingHouseService = publishingHouseService; _mapper = mapper; }
public ChapterDetailController(IChapterDetailRepository chapterDetailRepository, ITypeEbookService typeEbookService, IUserService userService, IAuthorService authorService, IBookCategoryService bookCategoryService, IBookService bookService, IEbookService ebookService) { this._authorService = authorService; this._chapterDetailRepository = chapterDetailRepository; this._bookCategoryService = bookCategoryService; this._bookService = bookService; this._ebookService = ebookService; this._userService = userService; this._typeEbookService = typeEbookService; }
public BookController(IRatingDetailService ratingDetailService, IEmailService emailService, IAuthorizationService authorizationService, IHostingEnvironment hostingEnvironment, IMerchantService merchantService, IBookCategoryService bookCategoryService, IBookService bookService, IUnitOfWork unitOfWork) { _ratingDetailService = ratingDetailService; _emailService = emailService; _authorizationService = authorizationService; _bookService = bookService; _bookCategoryService = bookCategoryService; _unitOfWork = unitOfWork; _merchantService = merchantService; _hostingEnvironment = hostingEnvironment; }
public BookController(IInformationService informationService, IChapterDetailService chapterDetailService, IAudioBookService audioBookService, ITypeEbookService typeEbookService, IUserService userService, IAuthorService authorService, IBookCategoryService bookCategoryService, IBookService bookService, IEbookService ebookService) { this._authorService = authorService; this._informationService = informationService; this._chapterDetailService = chapterDetailService; this._audioBookService = audioBookService; this._bookCategoryService = bookCategoryService; this._bookService = bookService; this._ebookService = ebookService; this._userService = userService; this._typeEbookService = typeEbookService; }
public BookService( IBookRepository bookRepository, IAuthorRepository authorRepository, ICategoryRepository categoryRepository, IBookCategoryService bookCategoryService, IBookAuthorService bookAuthorService, DataContext context ) { _authorRepository = authorRepository; _categoryRepository = categoryRepository; _bookCategoryService = bookCategoryService; _bookAuthorService = bookAuthorService; _context = context; _bookRepository = bookRepository; }
public BookCategoryController(IAuthorizationService authorizationService, IBookCategoryService bookCategoryService, IUnitOfWork unitOfWork) { _authorizationService = authorizationService; _bookCategoryService = bookCategoryService; _unitOfWork = unitOfWork; }
public BookCategoryController(IBookCategoryService bookCategoryService, IMapper mapper) : base(mapper) { this.bookCategoryService = bookCategoryService ?? throw new ArgumentNullException(nameof(bookCategoryService)); }
public BookCategoryManager(IBookCategoryService service, IMapper mapper) { _service = service; _mapper = mapper; }
public BookService(IBookCategoryService bookCategoryService, ILikeService likeService) { _bookCategoryService = bookCategoryService; _likeService = likeService; }
public BookServiceController(IBookCategoryService bookCategoryService, IBookService bookService) { _bookCategoryService = bookCategoryService; this.bookService = bookService; }
public BookCategoryController(ILogger <BookCategoryController> logger, IBookCategoryService bookCategoryServices) { _logger = logger; _bookCategoryServices = bookCategoryServices; }
public UI_BookCategory() { bookCategoryService = new BookCategoryService(); }
public BookCategoryServiceAdapter() { _service = ServiceFactory.CreateService <IBookCategoryService>(); }
public BooksController(IBookService bookService, IBookCategoryService bookCategoryService, IMapper mapper) { this.bookService = bookService; this.bookCategoryService = bookCategoryService; this.mapper = mapper; }
public BookCategoryController(IBookCategoryService bookCategoryService, ILogger <BookCategoryController> logger) { _bookCategoryService = bookCategoryService; _logger = logger; _logger.LogInformation($"Enter the {nameof(BookCategoryController)} controller"); }
public BooksCategoryManager() { _bookscategorySvc = new BooksCategoryService(); }
public BookCategoryController(IUserService userService, IBookCategoryService bookCategoryService, IBookService bookService) { this._bookCategoryService = bookCategoryService; this._userService = userService; }
public BookCategoryController(IBookCategoryService bookCategoryService) { _bookCategoryService = bookCategoryService; }