Example #1
0
 public TaxiController(IDeliveryService deliveryService, IOrdersService ordersService, IUserService userService, IDeliveryAutomation deliveryAutomation)
 {
     this.deliveryAutomation = deliveryAutomation;
     this.deliveryService    = deliveryService;
     this.ordersService      = ordersService;
     this.userService        = userService;
 }
Example #2
0
 public AccountController(IUserService userService, IOrderQueueService qs, IOrdersService ordersService, IDeliveryAutomation deliveryAutomation)
 {
     this.ordersService      = ordersService;
     orderQueue              = qs;
     this.userService        = userService;
     this.deliveryAutomation = deliveryAutomation;
 }
Example #3
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();
 }