public OrderingService(BooksContext booksContext)
 {
     _booksContext = booksContext;
 }
Esempio n. 2
0
 public BooksRepository(BooksContext context, IHttpClientFactory httpClientFactory)
 {
     _context           = context ?? throw new ArgumentNullException(nameof(context));
     _httpClientFactory = httpClientFactory ??
                          throw new ArgumentNullException(nameof(httpClientFactory));
 }
Esempio n. 3
0
 public BooksService(BooksContext context) => _booksContext = context;
Esempio n. 4
0
 public DetailsModel(BooksContext context)
     : base(context)
 {
     this.BookTitles = new List <AuthorViewModel>();
 }
Esempio n. 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;
Esempio n. 9
0
 public TitlesController(BooksContext context)
 {
     _context = context;
 }
Esempio n. 10
0
 public BookRepository(BooksContext booksContext, IHttpClientFactory httpClientFactory)
 {
     _booksContext = booksContext ?? throw new ArgumentNullException(nameof(booksContext));
     _httpClient   = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory));
 }
Esempio n. 11
0
 public AddModel(BooksContext context) : base(context)
 {
 }
Esempio n. 12
0
 public CrudRepository(BooksContext context)
 {
     Context = context;
     DbSet   = Context.Set <TEntity>();
 }
Esempio n. 13
0
 public DetailsModel(BooksContext context)
     : base(context)
 {
 }
Esempio n. 14
0
 public BooksRepository(BooksContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }
Esempio n. 15
0
 public CategoryController(BooksContext booksContext)
 {
     _booksContext = booksContext;
 }
 public BooksDBService(BooksContext booksContext)
 {
     _booksContext = booksContext ?? throw new ArgumentNullException(nameof(booksContext));
 }
Esempio n. 17
0
 public Repository(BooksContext context)
 {
     _context  = context;
     this._set = _context.Set <T>();
 }
 public AuthorRepository(BooksContext context) : base(context)
 {
 }
Esempio n. 19
0
 public BooksController(BooksContext booksContext)
 {
     _booksContext = booksContext;
 }
Esempio n. 20
0
 public LibrosController(BooksContext context)
 {
     _context = context;
 }
Esempio n. 21
0
 public ComicsController(BooksContext context)
 {
     _context = context;
 }
Esempio n. 22
0
 public CreateBookRequestHandler(BooksContext dbContext)
 {
     this.dbContext = dbContext;
 }
Esempio n. 23
0
 public ChaptersController(BooksContext booksContext)
 {
     _booksContext = booksContext;
 }
Esempio n. 24
0
 public PurchaseRepository(BooksContext ctx) : base(ctx)
 {
 }
Esempio n. 25
0
 public AuthorsController(BooksContext context)
 {
     _context = context;
 }
Esempio n. 26
0
 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));
 }
Esempio n. 27
0
 public BookRepository(BooksContext context)
 {
     this.db = context;
 }
Esempio n. 28
0
 public TradesService()
 {
     // context do bazy danncyh EF
     context = new BooksContext();
 }
Esempio n. 29
0
 public BookService(BooksContext context)
 {
     this._context = context;
 }
Esempio n. 30
0
 public BookRepository(BooksContext context)
 {
     _context = context;
 }
 public BookRepository(BooksContext context) : base(context)
 {
 }