Exemple #1
0
 public BooksController(IGoogleBooksService googleBooksService)
 {
     _googleBooksService = googleBooksService;
 }
Exemple #2
0
 public ShoppingCartService(IRepository <ShoppingCart> shoppingCartRepository, IGoogleBooksService booksService)
 {
     this.shoppingCartRepository = shoppingCartRepository;
     this.booksService           = booksService;
 }
Exemple #3
0
 public BooksController(IGoogleBooksService booksService, IShoppingCartService shoppingCartService)
 {
     this.booksService        = booksService;
     this.shoppingCartService = shoppingCartService;
 }
 public FavoritesController(SqliteContext context, IGoogleBooksService googleBooksService, IMapper mapper)
 {
     _context            = context;
     _googleBooksService = googleBooksService;
     _mapper             = mapper;
 }