コード例 #1
0
 public OrdersController(IECommerceRepository repository, ILogger <OrdersController> logger,
                         IMapper mapper, UserManager <StoreUser> userManager, ITrackOrderService trackOrderService)
 {
     _repository        = repository;
     _logger            = logger;
     _mapper            = mapper;
     _userManager       = userManager;
     _trackOrderService = trackOrderService;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 public TrackOrderController(ITrackOrderService trackOrderService)
 {
     _trackOrderService = trackOrderService;
 }
コード例 #4
0
 public OrderController(IOrderService service, ITrackOrderService trackOrerService, IUserService userService)
 {
     _service           = service;
     _trackOrderService = trackOrerService;
     _userService       = userService;
 }