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