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