예제 #1
0
 public PostBookCommand(
     [FromServices] BooksDbContext context,
     [FromServices] IDbBookMapper dbBookMapper,
     [FromServices] IDbAuthorBookMapper dbAuthorBookMapper)
 {
     _context          = context;
     _bookMapper       = dbBookMapper;
     _authorBookMapper = dbAuthorBookMapper;
 }