示例#1
0
 public ItemManager(IItemFacade itemFacade, IDiskFacade diskFacade, IMagazineFacade magazineFacade, IBookFacade bookFacade)
 {
     this.itemFacade     = itemFacade;
     this.diskFacade     = diskFacade;
     this.magazineFacade = magazineFacade;
     this.bookFacade     = bookFacade;
 }
示例#2
0
 public ItemManager(IItemFacade itemFacade, IDiskFacade diskFacade, IMagazineFacade magazineFacade, IBookFacade bookFacade)
 {
     this.itemFacade = itemFacade;
     this.diskFacade = diskFacade;
     this.magazineFacade = magazineFacade;
     this.bookFacade = bookFacade;
 }
示例#3
0
 public BooksController(IBookFacade bookFacade, IAuthorService authorService, IPublisherService publisherService, IReservationService reservationService, ILoanService loanService)
 {
     this.bookFacade         = bookFacade;
     this.authorService      = authorService;
     this.publisherService   = publisherService;
     this.reservationService = reservationService;
     this.loanService        = loanService;
     this.serviceDataLookUp  = new DefaultServiceDataLookUp(loanService, reservationService);
 }
示例#4
0
 public CreateBook(ILogger <CreateBook> logger, IBookFacade bookFacade, IAuthorFacade authorFacade)
 {
     BookDto         = new BookCreateDTO();
     this.logger     = logger;
     this.bookFacade = bookFacade;
     Authors         = authorFacade.GetAuthorSelectorAsync().GetAwaiter().GetResult().Select(a =>
                                                                                             new SelectListItem
     {
         Value = a.Key.ToString(),
         Text  = a.Value
     }).ToList();;
 }
示例#5
0
 public ValidationContext(IBookFacade bookFacade, IAuthorService authorService, IPublisherService publisherService)
 {
     BookFacade       = bookFacade;
     AuthorService    = authorService;
     PublisherService = publisherService;
 }
示例#6
0
 public BookAuthorManager(IBookFacade bookFacade, IAuthorFacade authorFacade, IBookAuthorFacade bookAuthorFacade)
 {
     this.authorFacade     = authorFacade;
     this.bookFacade       = bookFacade;
     this.bookAuthorFacade = bookAuthorFacade;
 }
示例#7
0
 public EditBook(ILogger <EditBook> logger, IBookFacade bookFacade, IAuthorFacade authorFacade)
 {
     this.logger       = logger;
     this.bookFacade   = bookFacade;
     this.authorFacade = authorFacade;
 }
示例#8
0
 public BookInfoManager(IBookFacade bookFacade, IBookWithAuthorsShortFacade bookWithAuthorsShortFacade)
 {
     this.bookFacade = bookFacade;
     this.bookWithAuthorsShortFacade = bookWithAuthorsShortFacade;
 }
 public BookAuthorManager(IBookFacade bookFacade, IAuthorFacade authorFacade, IBookAuthorFacade bookAuthorFacade)
 {
     this.authorFacade = authorFacade;
     this.bookFacade = bookFacade;
     this.bookAuthorFacade = bookAuthorFacade;
 }
示例#10
0
 public LibraryController(IBookFacade bookFacade, ILibraryRecordFacade libraryRecordFacade, ILogger <LibraryController> logger)
 {
     this.bookFacade          = bookFacade;
     this.libraryRecordFacade = libraryRecordFacade;
     this.logger = logger;
 }
示例#11
0
 public AuthorUpdatedEventHandler(IRepository <Book, string> repository, IBookFacade bookFacade)
 {
     this.repository = repository;
     this.bookFacade = bookFacade;
 }
示例#12
0
 public AddStockBook(ILogger <AddStockBook> logger, IBookFacade bookFacade)
 {
     this.logger     = logger;
     this.bookFacade = bookFacade;
 }
 public BookController(IBookFacade bookFacade)
 {
     _bookFacade = bookFacade;
 }
示例#14
0
 public BookController(IBookFacade facade)
 {
     _facade = facade;
 }
示例#15
0
 public BookController(IBookFacade bookFacade)
 {
     _bookFacade = bookFacade;
 }
示例#16
0
 public BooksModel(ILogger <BooksModel> logger, IBookFacade bookFacade)
 {
     _logger         = logger;
     this.bookFacade = bookFacade;
 }