public OrderingService(BooksContext booksContext)
 {
     _booksContext = booksContext;
 }
 public BooksRepository(BooksContext context, IHttpClientFactory httpClientFactory)
 {
     _context           = context ?? throw new ArgumentNullException(nameof(context));
     _httpClientFactory = httpClientFactory ??
                          throw new ArgumentNullException(nameof(httpClientFactory));
 }
Beispiel #3
0
 public BooksService(BooksContext context) => _booksContext = context;
Beispiel #4
0
 public DetailsModel(BooksContext context)
     : base(context)
 {
     this.BookTitles = new List <AuthorViewModel>();
 }
Beispiel #5
0
 public PosterController(BooksContext context)
 {
     _context = context;
 }
		public BooksRepository()
		{
			_db = new BooksContext();
		}
 public CreateBooksService(BooksContext booksContext)
 {
     _booksContext = booksContext;
 }
 public SampleFunction(BooksContext booksContext) => _booksContext = booksContext;
Beispiel #9
0
 public TitlesController(BooksContext context)
 {
     _context = context;
 }
 public BookRepository(BooksContext booksContext, IHttpClientFactory httpClientFactory)
 {
     _booksContext = booksContext ?? throw new ArgumentNullException(nameof(booksContext));
     _httpClient   = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory));
 }
Beispiel #11
0
 public AddModel(BooksContext context) : base(context)
 {
 }
 public CrudRepository(BooksContext context)
 {
     Context = context;
     DbSet   = Context.Set <TEntity>();
 }
Beispiel #13
0
 public DetailsModel(BooksContext context)
     : base(context)
 {
 }
Beispiel #14
0
 public BooksRepository(BooksContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }
Beispiel #15
0
 public CategoryController(BooksContext booksContext)
 {
     _booksContext = booksContext;
 }
 public BooksDBService(BooksContext booksContext)
 {
     _booksContext = booksContext ?? throw new ArgumentNullException(nameof(booksContext));
 }
Beispiel #17
0
 public Repository(BooksContext context)
 {
     _context  = context;
     this._set = _context.Set <T>();
 }
 public AuthorRepository(BooksContext context) : base(context)
 {
 }
Beispiel #19
0
 public BooksController(BooksContext booksContext)
 {
     _booksContext = booksContext;
 }
Beispiel #20
0
 public LibrosController(BooksContext context)
 {
     _context = context;
 }
Beispiel #21
0
 public ComicsController(BooksContext context)
 {
     _context = context;
 }
Beispiel #22
0
 public CreateBookRequestHandler(BooksContext dbContext)
 {
     this.dbContext = dbContext;
 }
 public ChaptersController(BooksContext booksContext)
 {
     _booksContext = booksContext;
 }
Beispiel #24
0
 public PurchaseRepository(BooksContext ctx) : base(ctx)
 {
 }
 public AuthorsController(BooksContext context)
 {
     _context = context;
 }
 public BooksRepository(BooksContext booksContext, IHttpClientFactory httpClientFactory, ILogger <BooksRepository> logger)
 {
     _booksContext      = booksContext ?? throw new ArgumentNullException(nameof(booksContext));
     _httpClientFactory = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory));
     _logger            = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Beispiel #27
0
 public BookRepository(BooksContext context)
 {
     this.db = context;
 }
 public TradesService()
 {
     // context do bazy danncyh EF
     context = new BooksContext();
 }
Beispiel #29
0
 public BookService(BooksContext context)
 {
     this._context = context;
 }
Beispiel #30
0
 public BookRepository(BooksContext context)
 {
     _context = context;
 }
 public BookRepository(BooksContext context) : base(context)
 {
 }