Пример #1
0
 public BooksController(LibraryDataContext context, IMapper mapper, MapperConfiguration config, ILookupBooks bookLookup, IBookCommands bookCommands)
 {
     _context      = context;
     _mapper       = mapper;
     _config       = config;
     _bookLookup   = bookLookup;
     _bookCommands = bookCommands;
 }
 public BooksController(ILookupBooks bookLookup, IBookCommands bookCommands)
 {
     _bookLookup   = bookLookup;
     _bookCommands = bookCommands;
 }
Пример #3
0
 public BooksController(IBookCommands command, IBookQueries queries)
 {
     _command = command;
     _queries = queries;
 }
Пример #4
0
 public BooksController(IBookQueries bookQueries, IBookCommands bookCommands)
 {
     _bookQueries  = bookQueries;
     _bookCommands = bookCommands;
 }