예제 #1
0
 public OrderController(
     IOrderRepository orderRepository,
     IRestaurantRepository restaurantRepository,
     IAreaRepository areaRepository,
     IMarketRepository marketRepository,
     ITableRepository tableRepository,
     IOrderRecordRepository orderRecordRepository,
     IExtendItemRepository extendItemRepository,
     ICustomerRepository customerRepository,
     IUserRepository_Old oldUserRepository,
     IOrderPayRecordRepository payRecordRepository,
     ITableService tableHandlerSers,
     IOrderService orderService,
     IPrinterRepository printerRepository)
 {
     _orderRepository       = orderRepository;
     _restaurantRepository  = restaurantRepository;
     _areaRepository        = areaRepository;
     _marketRep             = marketRepository;
     _tableRep              = tableRepository;
     _orderRecordRepository = orderRecordRepository;
     _extendItemRepository  = extendItemRepository;
     _oldCustRepository     = customerRepository;
     _oldUserRepository     = oldUserRepository;
     _payRep            = payRecordRepository;
     _tableHandlerSers  = tableHandlerSers;
     _orderService      = orderService;
     _printerRepository = printerRepository;
 }
예제 #2
0
 public PrintService(IOrderPayRecordRepository orderPayRecordRepository,
                     ICheckOutRepository checkOutRepository,
                     ICheckOutService checkOutService,
                     ITableRepository tableRepository)
 {
     _orderPayRecordRepository = orderPayRecordRepository;
     _checkOutRepository       = checkOutRepository;
     _checkOutService          = checkOutService;
     _tableRepository          = tableRepository;
 }
예제 #3
0
 public OrderService(IMultiDbDbFactory factory,
                     ITableRepository tableRepository,
                     IOrderRepository orderRepository,
                     IRestaurantRepository restaurantRepository,
                     IExtendItemRepository extendItemRepository,
                     IMarketRepository marketRepository,
                     IOrderPayRecordRepository orderPayRecordRepository)
 {
     _currentFactory       = factory;
     _tableRep             = tableRepository;
     _orderRep             = orderRepository;
     _resRep               = restaurantRepository;
     _extendItemRepository = extendItemRepository;
     _marketRep            = marketRepository;
     _payRep               = orderPayRecordRepository;
 }
예제 #4
0
        public MHomeController(
            IOrderRepository orderRepository,
            ICategoryRepository categoryRepository,
            ITableRepository tableRepository,
            IMarketRepository marketRepository,
            IAreaRepository areaRepository,
            IExtendItemRepository extendItemRepository,
            ICustomerRepository customerRepository,
            IUserRepository_Old oldUserRepository,
            ITableService tableService,
            IOrderService orderService,
            IRestaurantService restaurantService,
            ICheckOutRepository checkOutRepository,
            IRestaurantRepository resRepository,
            IExtendTypeRepository extendTypeRepository,
            IOrderPayRecordRepository orderPayRecordRepository,
            IPrintService printService,
            IRestaurantRepository restaurantRepository,
            IMarketRepository marketRep,
            ITableRepository tableRep)
        {
            _orderRepository      = orderRepository;
            _tableRepository      = tableRepository;
            _marketRepository     = marketRepository;
            _categoryRepository   = categoryRepository;
            _areaRepository       = areaRepository;
            _extendItemRepository = extendItemRepository;
            _oldCustRepository    = customerRepository;
            _oldUserRepository    = oldUserRepository;

            _tableHandlerSers         = tableService;
            _orderHandlerSers         = orderService;
            _restaurantHandlerSers    = restaurantService;
            _checkOutRepository       = checkOutRepository;
            _resRepository            = resRepository;
            _extendTypeRepository     = extendTypeRepository;
            _orderPayRecordRepository = orderPayRecordRepository;
            _printService             = printService;
            _restaurantRepository     = restaurantRepository;
            _marketRep = marketRep;
            _tableRep  = tableRep;
        }