コード例 #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
ファイル: UserService.cs プロジェクト: OpuZm/NHRTest
 public UserService(
     IUserRepository_Old repository,
     IOperateLogRepository logRepository,
     IRestaurantRepository restaurantRepository)
 {
     _userRepository    = repository;
     _userLogRepository = logRepository;
     _resRepository     = restaurantRepository;
 }
コード例 #3
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;
        }
コード例 #4
0
ファイル: CheckOutController.cs プロジェクト: OpuZm/NHRTest
 public CheckOutController(
     ICheckOutRepository checkOutRepository,
     IOrderRepository orderRepository,
     IOrderRecordRepository orderRecordRepository,
     IUserRepository_Old oldUserRepository,
     ICustomerRepository customerRepository,
     ICheckOutService checkOutService,
     IPrintService printService,
     IUserService userService,
     IPayMethodRepository payMethodRepository,
     IPrinterRepository printerRepository
     )
 {
     _checkOutRepository    = checkOutRepository;
     _orderRepository       = orderRepository;
     _orderRecordRepository = orderRecordRepository;
     _oldUserRepository     = oldUserRepository;
     _oldCustRepository     = customerRepository;
     _checkOutService       = checkOutService;
     _printService          = printService;
     _userService           = userService;
     _payMethodRepository   = payMethodRepository;
     _printerRepository     = printerRepository;
 }
コード例 #5
0
 public HotelLoginDomainService(ICloudHotelRepository cloudRepository, IUserRepository_Old repository, IOperateLogRepository logRepository)
 {
     CloudHotelRepository = cloudRepository;
     UserRepository       = repository;
     UserLogRepository    = logRepository;
 }