public BookController(BooksStoreContext ctx, IBooksStoreRepository repository, IMapper mapper) { _ctx = ctx; _repository = repository; _logger = LogManager.GetCurrentClassLogger(); _mapper = mapper; }
public OrdersController(IBooksStoreRepository repository, IMapper mapper, UserManager <StoreUser> userManager) { _repository = repository; _logger = LogManager.GetCurrentClassLogger(); _mapper = mapper; _userManager = userManager; }
public AuthorController(IBooksStoreRepository <Author> authorRepository) { this.authorRepository = authorRepository; }
public OrderItemsController(IBooksStoreRepository repository, IMapper mapper) { _repository = repository; _logger = LogManager.GetCurrentClassLogger(); _mapper = mapper; }
public BookController(IBooksStoreRepository <Book> bookRepository, IBooksStoreRepository <Author> authorRepository, IHostingEnvironment hosting) { this.bookRepository = bookRepository; this.authorRepository = authorRepository; this.hosting = hosting; }