Пример #1
0
 public OperationController(IOperationCRUD opCRUD)
 {
     handler = new BL.Handler();
     handler.Connect(Sales.MVCClient.Helper.MagicString.PathSalesDataBase);
     operationCRUD = opCRUD;
     mapper        = new MVCMapper();
 }
Пример #2
0
 public ProductController(IProductCRUD handlerCRUD)
 {
     handler = new BL.Handler();
     handler.Connect(Sales.MVCClient.Helper.MagicString.PathSalesDataBase);
     productCRUD = handlerCRUD;
     mapper      = new MVCMapper();
 }
 public PriceHistoryController(IPriceHistoryCRUD phCRUD)
 {
     handler = new BL.Handler();
     handler.Connect(Sales.MVCClient.Helper.MagicString.PathSalesDataBase);
     priceHistoryCRUD = phCRUD;
     mapper           = new MVCMapper();
 }