Example #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;
 }
Example #3
0
 public BooksController(IBookCommands command, IBookQueries queries)
 {
     _command = command;
     _queries = queries;
 }
 public BooksController(IBookQueries bookQueries, IBookCommands bookCommands)
 {
     _bookQueries  = bookQueries;
     _bookCommands = bookCommands;
 }