public ProductsController(ProductManagerContext context)
 {
     _context = context;
 }
Beispiel #2
0
 public CompanyLogic()
 {
     _context = new ProductManagerContext();
 }
Beispiel #3
0
 public UserLogic()
 {
     _context = new ProductManagerContext();
 }
Beispiel #4
0
 public ProfitLogic()
 {
     _context = new ProductManagerContext();
 }
Beispiel #5
0
 public ElectricLogic()
 {
     _context = new ProductManagerContext();
 }
Beispiel #6
0
 public ProductsController(ProductManagerContext dbContext, ILogger <ProductsController> logger)
 {
     _dbContext = dbContext;
     _logger    = logger;
 }
Beispiel #7
0
 public CategoryController(ProductManagerContext dbContext, ILogger <CategoryController> logger)
 {
     _dbContext = dbContext;
     _logger    = logger;
 }
Beispiel #8
0
 public DataReportLogic()
 {
     _context = new ProductManagerContext();
 }