예제 #1
0
 public CreateLendingModel(ILendingService lendingService, IBookService bookService, IClientService clientService, ILibraryService libraryService)
 {
     this.lendingService = lendingService;
     this.bookService    = bookService;
     this.clientService  = clientService;
     this.libraryService = libraryService;
 }
예제 #2
0
 public LendingController(ILendingService lendingService, IClientService clientService, ILibraryService libraryService, IBookService bookService)
 {
     this.lendingService = lendingService;
     this.clientService  = clientService;
     this.libraryService = libraryService;
     this.bookService    = bookService;
 }
예제 #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;
 }
예제 #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;
 }
예제 #9
0
 public BorrowController(ILendingService lendingService, LendingRecordResourceAssembler recordAssembler)
 {
     LendingService  = lendingService;
     RecordAssembler = recordAssembler;
 }
예제 #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;
 }
예제 #13
0
 public ReturnLendingModel(ILendingService lendingService, ILibraryService libraryService)
 {
     this.lendingService = lendingService;
     this.libraryService = libraryService;
 }
예제 #14
0
 public UserService(BookContext db, ILendingService lendService)
 {
     _db          = db;
     _lendService = lendService;
 }
예제 #15
0
 //
 // GET: /Book/
 public LendingController(IBookService bookService, ILendingService lendingService, IBookMetadataService bookMetadataService)
 {
     this.bookMetadataService = bookMetadataService;
     this.bookService         = bookService;
     this.lendingService      = lendingService;
 }