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