public BooksController(ILogger <BooksController> logger, IBookCreateService bookCreateService, IBookGetService bookGetService, IBookUpdateService bookUpdateService, IMapper mapper) { Logger = logger; BookCreateService = bookCreateService; BookGetService = bookGetService; BookUpdateService = bookUpdateService; Mapper = mapper; }
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; }