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();; }
public BookAuthorManager(IBookFacade bookFacade, IAuthorFacade authorFacade, IBookAuthorFacade bookAuthorFacade) { this.authorFacade = authorFacade; this.bookFacade = bookFacade; this.bookAuthorFacade = bookAuthorFacade; }
public EditBook(ILogger <EditBook> logger, IBookFacade bookFacade, IAuthorFacade authorFacade) { this.logger = logger; this.bookFacade = bookFacade; this.authorFacade = authorFacade; }
public EditAuthor(ILogger <EditAuthor> logger, IAuthorFacade authorFacade) { this.logger = logger; this.authorFacade = authorFacade; }
public BookAuthorIdChangedEventHandler(IAuthorFacade authorFacade, ILogger <BookAuthorIdChangedEventHandler> logger) { this.authorFacade = authorFacade; this.logger = logger; }
public AuthorsModel(ILogger <AuthorsModel> logger, IAuthorFacade authorFacade) { _logger = logger; this.authorFacade = authorFacade; }
public BookTitleChangedEventHandler(IAuthorFacade authorFacade, ILibraryRecordFacade libraryRecordFacade) { this.authorFacade = authorFacade; this.libraryRecordFacade = libraryRecordFacade; }
public AuthorManager(IAuthorFacade authorFacade) { this.authorFacade = authorFacade; }
public CreateAuthor(ILogger <CreateAuthor> logger, IAuthorFacade authorFacade) { AuthorDto = new CreateAuthorDTO(Guid.NewGuid()); this.logger = logger; this.authorFacade = authorFacade; }