public OrdersController(IECommerceRepository repository, ILogger <OrdersController> logger,
                         IMapper mapper, UserManager <StoreUser> userManager, ITrackOrderService trackOrderService)
 {
     _repository        = repository;
     _logger            = logger;
     _mapper            = mapper;
     _userManager       = userManager;
     _trackOrderService = trackOrderService;
 }
 public TrackOrderController(IErrorService errorService,
                             ITrackOrderService trackOrderService,
                             IUnitOfWork unitOfWork,
                             IOrderService orderService,
                             IVehicleService vehicleService,
                             IApplicationUserService appUserService) : base(errorService)
 {
     _trackOrderService = trackOrderService;
     _unitOfWork        = unitOfWork;
     _orderService      = orderService;
     _vehicleService    = vehicleService;
     _appUserService    = appUserService;
 }
Example #3
0
 public TrackOrderController(ITrackOrderService trackOrderService)
 {
     _trackOrderService = trackOrderService;
 }
Example #4
0
 public OrderController(IOrderService service, ITrackOrderService trackOrerService, IUserService userService)
 {
     _service           = service;
     _trackOrderService = trackOrerService;
     _userService       = userService;
 }