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