Exemple #1
0
 public ChartController()
 {
     _dalContext = new DALContext();
     _customerRepository = _dalContext.Customers;
     _inputFileRepository = _dalContext.InputFiles;
     _managerRepository = _dalContext.Managers;
     _productRepository = _dalContext.Products;
     _saleItemRepository = _dalContext.SaleItems;
 }
Exemple #2
0
 public ProductController()
 {
     _dalContext = new DALContext();
     _productRepository = _dalContext.Products;
 }
Exemple #3
0
 public CustomerController()
 {
     _dalContext = new DALContext();
     _customerRepository = _dalContext.Customers;
 }
Exemple #4
0
 public ManagerController()
 {
     _dalContext = new DALContext();
     _managerRepository = _dalContext.Managers;
 }