示例#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;
 }
 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;
 }