private void InitService()
            {
                var http = _httpHandler.CreateClient();

                _svc = new SmartSpotPriceService(_config,
                                                 _db.Object,
                                                 _mapper,
                                                 http,
                                                 _userContext.Object,
                                                 _recaptchaService.Object,
                                                 _mileageService.Object,
                                                 _securityService.Object,
                                                 _loadCarrierGroupService.Object,
                                                 _shippingService.Object);
            }
Exemplo n.º 2
0
 public SmartSpotPriceController(ISmartSpotPriceService svc)
 {
     _svc = svc;
 }