Ejemplo n.º 1
0
 public AccountController(IUserService userService, IOrderQueueService qs, IOrdersService ordersService, IDeliveryAutomation deliveryAutomation)
 {
     this.ordersService      = ordersService;
     orderQueue              = qs;
     this.userService        = userService;
     this.deliveryAutomation = deliveryAutomation;
 }
Ejemplo n.º 2
0
 public OrdersController(IOrdersService ordersService, IDishService dishService, ISessionStorage sessionStorage,
                         IOrderQueueService queueService)
 {
     this.queueService   = queueService;
     this.ordersService  = ordersService;
     this.dishService    = dishService;
     this.sessionStorage = sessionStorage;
 }
Ejemplo n.º 3
0
 public CartController(ISessionStorage ss, IDishService ds, IOrdersService ordersService, IUserService userService,
                       IOrderQueueService qservice)
 {
     queueService       = qservice;
     this.userService   = userService;
     sessionStorage     = ss;
     dishService        = ds;
     this.ordersService = ordersService;
 }
Ejemplo n.º 4
0
 public OrderQueueSurfaceController(IOrderQueueService orderQueueService, IContactService contactService )
 {
     if (orderQueueService == null)
     {
         throw new ArgumentNullException("orderQueueService");
     }
     _orderQueueService = orderQueueService;
     if (contactService == null)
     {
         throw new ArgumentNullException("contactService");
     }
     _contactService = contactService;
 }
        public CpxDisplayOrderQueueController(IOrderQueueService orderQueueService, ILocationHandler locationHandler, IContactAuthenticationHandler authenticationHandler)
        {
            if (orderQueueService == null)
            {
                throw new ArgumentNullException("orderQueueService");
            }
            _orderQueueService = orderQueueService;
            if (locationHandler == null)
            {
                throw new ArgumentNullException("locationHandler");
            }
            _locationHandler = locationHandler;
            if (authenticationHandler == null) throw new ArgumentNullException("authenticationHandler");

            _authenticationHandler = authenticationHandler;
        }
Ejemplo n.º 6
0
 public AdminController(
     IUserService userService,
     IRolesService rolesService,
     ILogService logService,
     IAccessRequestService accessRequestService,
     IOrderQueueService queueService,
     IDeliveryAutomation deliveryAutomation
     )
 {
     _userService            = userService;
     _rolesService           = rolesService;
     _logService             = logService;
     _accessRequestService   = accessRequestService;
     _queueService           = queueService;
     this.deliveryAutomation = deliveryAutomation;
     client = new SmtpClient();
 }
Ejemplo n.º 7
0
 public OrderSystemHandler(IOrderQueueService queueService,
                           IShoppingService shoppingService)
 {
     _queueService    = queueService;
     _shoppingService = shoppingService;
 }
Ejemplo n.º 8
0
 public OrderDeliveryHandler(IOrderQueueService queueService)
 {
     _queueService = queueService;
 }