예제 #1
0
파일: ItemsController.cs 프로젝트: olcay/om
 public ItemsController(IApplicationDbContext context, IBookFinder bookFinder, IUnitOfWork unitOfWork, IRawgGamesClient rawgGamesClient)
 {
     _context         = context;
     _bookFinder      = bookFinder;
     _unitOfWork      = unitOfWork;
     _rawgGamesClient = rawgGamesClient;
 }
예제 #2
0
파일: Matcher.cs 프로젝트: adarmus/ebook
 public Matcher(IBookFinder bookFinder, IOutputMessage messages)
 {
     _messages   = messages;
     _bookFinder = bookFinder;
 }
예제 #3
0
파일: ItemsController.cs 프로젝트: olcay/om
 public ItemsController(IUnitOfWork unitOfWork, IBookFinder bookFinder, IRawgGamesClient gamesClient)
 {
     _unitOfWork  = unitOfWork;
     _bookFinder  = bookFinder;
     _gamesClient = gamesClient;
 }
예제 #4
0
 public BookService(IRepository<Book> repository, IUnitOfWork unitOfWork, IBookFinder finder)
 {
     _repository = repository;
     _unitOfWork = unitOfWork;
     _finder = finder;
 }