예제 #1
0
 public BooksController(ILogger <BooksController> logger, IBookCreateService bookCreateService, IBookGetService bookGetService, IBookUpdateService bookUpdateService, IMapper mapper)
 {
     Logger            = logger;
     BookCreateService = bookCreateService;
     BookGetService    = bookGetService;
     BookUpdateService = bookUpdateService;
     Mapper            = mapper;
 }
예제 #2
0
 public BookController(ILogger <BookController> logger, IMapper mapper, IBookCreateService bookCreateService, IBookGetService bookGetService, IBookUpdateService bookUpdateService)
 {
     this.Logger            = logger;
     this.BookCreateService = bookCreateService;
     this.BookGetService    = bookGetService;
     this.BookUpdateService = bookUpdateService;
     this.Mapper            = mapper;
 }