Esempio n. 1
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();;
 }
Esempio n. 2
0
 public BookAuthorManager(IBookFacade bookFacade, IAuthorFacade authorFacade, IBookAuthorFacade bookAuthorFacade)
 {
     this.authorFacade     = authorFacade;
     this.bookFacade       = bookFacade;
     this.bookAuthorFacade = bookAuthorFacade;
 }
Esempio n. 3
0
 public EditBook(ILogger <EditBook> logger, IBookFacade bookFacade, IAuthorFacade authorFacade)
 {
     this.logger       = logger;
     this.bookFacade   = bookFacade;
     this.authorFacade = authorFacade;
 }
Esempio n. 4
0
 public EditAuthor(ILogger <EditAuthor> logger, IAuthorFacade authorFacade)
 {
     this.logger       = logger;
     this.authorFacade = authorFacade;
 }
 public BookAuthorManager(IBookFacade bookFacade, IAuthorFacade authorFacade, IBookAuthorFacade bookAuthorFacade)
 {
     this.authorFacade = authorFacade;
     this.bookFacade = bookFacade;
     this.bookAuthorFacade = bookAuthorFacade;
 }
Esempio n. 6
0
 public BookAuthorIdChangedEventHandler(IAuthorFacade authorFacade, ILogger <BookAuthorIdChangedEventHandler> logger)
 {
     this.authorFacade = authorFacade;
     this.logger       = logger;
 }
Esempio n. 7
0
 public AuthorsModel(ILogger <AuthorsModel> logger, IAuthorFacade authorFacade)
 {
     _logger           = logger;
     this.authorFacade = authorFacade;
 }
 public BookTitleChangedEventHandler(IAuthorFacade authorFacade, ILibraryRecordFacade libraryRecordFacade)
 {
     this.authorFacade        = authorFacade;
     this.libraryRecordFacade = libraryRecordFacade;
 }
Esempio n. 9
0
 public AuthorManager(IAuthorFacade authorFacade)
 {
     this.authorFacade = authorFacade;
 }
Esempio n. 10
0
 public CreateAuthor(ILogger <CreateAuthor> logger, IAuthorFacade authorFacade)
 {
     AuthorDto         = new CreateAuthorDTO(Guid.NewGuid());
     this.logger       = logger;
     this.authorFacade = authorFacade;
 }
Esempio n. 11
0
 public AuthorManager(IAuthorFacade authorFacade)
 {
     this.authorFacade = authorFacade;
 }