Ejemplo n.º 1
0
 public AssessmentController(IDiscoveryCache discoveryCache, ProdDbContext dbContext, IReferenceService referenceService, IHubContext <MessageHub> hubContext) : base(discoveryCache, dbContext)
     //public AssessmentController(IDiscoveryCache discoveryCache, ProdDbContext dbContext, IReferenceService referenceService) : base(discoveryCache, dbContext)
 {
     _dbContext        = dbContext;
     _referenceService = referenceService;
     _hubContext       = hubContext;
 }
 public ProductController(ILogger <ProductController> logger, ProdDbContext db, IConfiguration configuration, IWebHostEnvironment hostEnvironment, ICustomerService _cs)
 {
     _logger            = logger;
     _db                = db;
     _configuration     = configuration;
     customerService    = _cs;
     apiurl             = _configuration.GetValue <string>("WebAPIBaseUrl");
     webHostEnvironment = hostEnvironment;
 }
Ejemplo n.º 3
0
 public CustomerService(ProdDbContext _db)
 {
     db = _db;
 }
Ejemplo n.º 4
0
 public GenericRepository(ProdDbContext context)
 {
     this.context  = context;
     this.entities = context.Set <TEntity>();
 }
Ejemplo n.º 5
0
        ProdDbContext db;  //контекст

        public CategoryRepository(ProdDbContext _db)
        {
            db = _db;
        }
Ejemplo n.º 6
0
 ProdDbContext db;  //контекст
 public SupplierRepository(ProdDbContext _db)
 {
     db = _db;
 }
Ejemplo n.º 7
0
 public AuthorizeApiController(IDiscoveryCache discoveryCache, ProdDbContext dbContext)
 {
     _discoveryCache = discoveryCache;
     _dbContext      = dbContext;
 }
Ejemplo n.º 8
0
 public Repository(ProdDbContext context)
 {
     Context = context;
     DbSet   = context.Set <T>();
 }
Ejemplo n.º 9
0
 public CartController(ApplicationDbContext db, ProdDbContext pdb)
 {
     _db  = db;
     _pdb = pdb;
 }
 public AssessmentCommentsController(IDiscoveryCache discoveryCache, ProdDbContext dbContext) : base(discoveryCache, dbContext)
 {
     _dbContext = dbContext;
 }
Ejemplo n.º 11
0
 public ProductsController(IProductData _data, ProdDbContext db, IWebHostEnvironment hostEnvironment)
 {
     data = _data;
     _db  = db;
     webHostEnvironment = hostEnvironment;
 }
 public ExpertGroupAssessmentsController(IDiscoveryCache discoveryCache, ProdDbContext dbContext) : base(discoveryCache, dbContext)
 {
     _dbContext = dbContext;
 }
Ejemplo n.º 13
0
 public DocumentController(IDiscoveryCache discoveryCache, ProdDbContext dbContext) : base(discoveryCache, dbContext)
 {
     _dbContext = dbContext;
 }
 public ReferenceController(IReferenceService referenceService, IDiscoveryCache discoveryCache, ProdDbContext dbContext) : base(discoveryCache, dbContext)
 {
     this._referenceService = referenceService;
 }
Ejemplo n.º 15
0
 public KodeController(ProdDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Ejemplo n.º 16
0
 ProdDbContext db;  //контекст
 public ProductRepository(ProdDbContext _db)
 {
     db = _db;
 }
Ejemplo n.º 17
0
 public ProductService(ProdDbContext db)
 {
     _db = db;
 }
 public AccessController(IDiscoveryCache discoveryCache, ProdDbContext dbContext) : base(discoveryCache, dbContext)
 {
     _dbContext = dbContext;
 }