Exemplo n.º 1
0
 public CreateLendingModel(ILendingService lendingService, IBookService bookService, IClientService clientService, ILibraryService libraryService)
 {
     this.lendingService = lendingService;
     this.bookService    = bookService;
     this.clientService  = clientService;
     this.libraryService = libraryService;
 }
Exemplo n.º 2
0
 public LendingController(ILendingService lendingService, IClientService clientService, ILibraryService libraryService, IBookService bookService)
 {
     this.lendingService = lendingService;
     this.clientService  = clientService;
     this.libraryService = libraryService;
     this.bookService    = bookService;
 }
Exemplo n.º 3
0
 public BookController(IAuthorService service,
                       IBookService bookService,
                       ILendingService lendingService)
 {
     _authorService = service;
     _bookService   = bookService;
     _lendService   = lendingService;
 }
 public ReservationService(IReservationRepository reservationRepository, ILendingRepository lendingRepository, IBookRepository bookRepository, IUserRepository userRepository, ILendingService lendingService)
 {
     this.reservationRepository = reservationRepository;
     this.lendingRepository     = lendingRepository;
     this.bookRepository        = bookRepository;
     this.userRepository        = userRepository;
     this.lendingService        = lendingService;
 }
Exemplo n.º 5
0
 public SearchController(
     IUserService userService,
     IViewModelTransalator <BookMetadataViewModel, BookMetadataModel> bookMetadataViewModelTransalator,
     IBookMetadataService bookMetadataService,
     ILendingService lendingService,
     IBookService bookService)
 {
     this.userService = userService;
     this.bookMetadataViewModelTransalator = bookMetadataViewModelTransalator;
     this.bookMetadataService = bookMetadataService;
     this.bookService         = bookService;
     this.lendingService      = lendingService;
 }
 public LendingRecordController( ILendingService lendingService, LendingRecordResourceAssembler assembler )
 {
     LendingService = lendingService;
     RecordAssembler = assembler;
 }
 public LendingListModel(ILendingService lendingService)
 {
     this.lendingService = lendingService;
 }
 public LendingController(ILendingService lendingService)
 {
     this.lendingService = lendingService;
 }
Exemplo n.º 9
0
 public BorrowController(ILendingService lendingService, LendingRecordResourceAssembler recordAssembler)
 {
     LendingService  = lendingService;
     RecordAssembler = recordAssembler;
 }
Exemplo n.º 10
0
 public LendingRecordController(ILendingService lendingService, LendingRecordResourceAssembler assembler)
 {
     LendingService  = lendingService;
     RecordAssembler = assembler;
 }
 public BorrowController( ILendingService lendingService, LendingRecordResourceAssembler recordAssembler )
 {
     LendingService = lendingService;
     RecordAssembler = recordAssembler;
 }
 public ClientDetailsModel(IClientService clientService, ILendingService lendingService)
 {
     this.clientService  = clientService;
     this.lendingService = lendingService;
 }
Exemplo n.º 13
0
 public ReturnLendingModel(ILendingService lendingService, ILibraryService libraryService)
 {
     this.lendingService = lendingService;
     this.libraryService = libraryService;
 }
Exemplo n.º 14
0
 public UserService(BookContext db, ILendingService lendService)
 {
     _db          = db;
     _lendService = lendService;
 }
Exemplo n.º 15
0
 //
 // GET: /Book/
 public LendingController(IBookService bookService, ILendingService lendingService, IBookMetadataService bookMetadataService)
 {
     this.bookMetadataService = bookMetadataService;
     this.bookService         = bookService;
     this.lendingService      = lendingService;
 }