public NghiepVuLeTanController(IChonVeService chonveService,
                                IStateProvinceService stateProvinceService,
                                INhaXeService nhaxeService,
                                INhanVienService nhanvienService,
                                ILocalizationService localizationService,
                                IPermissionService permissionService,
                                IWorkContext workContext,
                                IPictureService pictureService,
                                ICustomerService customerService,
                                IBenXeService benxeService,
                                IDiaChiService diachiService,
                                IGenericAttributeService genericAttributeService,
                                ICustomerRegistrationService CustomerRegistrationService,
                                CustomerSettings customerSettings
                                )
 {
     this._nhanvienService             = nhanvienService;
     this._chonveService               = chonveService;
     this._stateProvinceService        = stateProvinceService;
     this._nhaxeService                = nhaxeService;
     this._localizationService         = localizationService;
     this._permissionService           = permissionService;
     this._workContext                 = workContext;
     this._pictureService              = pictureService;
     this._customerService             = customerService;
     this._benxeService                = benxeService;
     this._diachiService               = diachiService;
     this._genericAttributeService     = genericAttributeService;
     this._customerRegistrationService = CustomerRegistrationService;
     this._customerSettings            = customerSettings;
 }
 public NhaXeHanhTrinhController(IStateProvinceService stateProvinceService,
                                 INhaXeService nhaxeService,
                                 ILocalizationService localizationService,
                                 IWorkContext workContext,
                                 IPictureService pictureService,
                                 IPhieuGuiHangService phieuguihangService,
                                 IHangHoaService hanghoaService,
                                 ICustomerService customerService,
                                 IDiaChiService diachiService,
                                 INhanVienService nhanvienService,
                                 IPermissionService permissionService,
                                 IXeInfoService xeinfoService,
                                 IHanhTrinhService hanhtrinhService,
                                 IBenXeService benxeService,
                                 INhaXeCustomerService nhaxecustomerService
                                 )
 {
     this._stateProvinceService = stateProvinceService;
     this._nhaxeService         = nhaxeService;
     this._hanghoaService       = hanghoaService;
     this._phieuguihangService  = phieuguihangService;
     this._localizationService  = localizationService;
     this._workContext          = workContext;
     this._pictureService       = pictureService;
     this._customerService      = customerService;
     this._diachiService        = diachiService;
     this._nhanvienService      = nhanvienService;
     this._permissionService    = permissionService;
     this._xeinfoService        = xeinfoService;
     this._hanhtrinhService     = hanhtrinhService;
     this._benxeService         = benxeService;
     this._nhaxecustomerService = nhaxecustomerService;
 }
Beispiel #3
0
        public LApiController(ICacheManager cacheManager,
            RestServiceSettings settings,
            IStateProvinceService stateProvinceService,
            INhaXeService nhaxeService,
            ILocalizationService localizationService,
            IWorkContext workContext,
             IPhieuGuiHangService phieuguihangService,
            IHangHoaService hanghoaService,
            ICustomerService customerService,
            IChonVeService chonveService,
            IDiaChiService diachiService,
            INhanVienService nhanvienService,
            IPermissionService permissionService,
            CustomerSettings customerSettings,
            ICustomerRegistrationService customerRegistrationService,
            ICustomerActivityService customerActivityService,
            IGenericAttributeService genericAttributeService,
            IXeInfoService xeinfoService,
            IHanhTrinhService hanhtrinhService,
            IPriceFormatter priceFormatter,
            IBenXeService benxeService,
             IVeXeService vexeService,
            IPhoiVeService phoiveService,
            IShoppingCartService shoppingCartService,
            IAuthenticationService authenticationService,
            INhaXeCustomerService nhaxecustomerService,
            ILimousineBanVeService limousinebanveService
            )
        {
            this._cacheManager = cacheManager;
            this._limousinebanveService = limousinebanveService;
            this._settings = settings;
            this._stateProvinceService = stateProvinceService;
            this._nhaxeService = nhaxeService;
            this._hanghoaService = hanghoaService;
            this._phieuguihangService = phieuguihangService;
            this._localizationService = localizationService;
            this._workContext = workContext;
            this._customerService = customerService;
            this._chonveService = chonveService;
            this._diachiService = diachiService;
            this._nhanvienService = nhanvienService;
            this._permissionService = permissionService;
            this._customerSettings = customerSettings;
            this._customerRegistrationService = customerRegistrationService;
            this._customerActivityService = customerActivityService;
            this._genericAttributeService = genericAttributeService;
            this._xeinfoService = xeinfoService;
            this._hanhtrinhService = hanhtrinhService;
            this._priceFormatter = priceFormatter;
            this._benxeService = benxeService;
            this._vexeService = vexeService;
            this._phoiveService = phoiveService;
            this._shoppingCartService = shoppingCartService;
            this._authenticationService = authenticationService;
            this._nhaxecustomerService = nhaxecustomerService;

        }
 public PdfService(ILocalizationService localizationService,
                   ILanguageService languageService,
                   IWorkContext workContext,
                   INhaXeService nhaxeService,
                   IDiaChiService diachiService,
                   IHanhTrinhService hanhtrinhService,
                   IOrderService orderService,
                   IXeInfoService xeinfoService,
                   IPaymentService paymentService,
                   IDateTimeHelper dateTimeHelper,
                   IPriceFormatter priceFormatter,
                   ICurrencyService currencyService,
                   IMeasureService measureService,
                   IPictureService pictureService,
                   IProductService productService,
                   IProductAttributeParser productAttributeParser,
                   IStoreService storeService,
                   IStoreContext storeContext,
                   ISettingService settingContext,
                   IWebHelper webHelper,
                   IAddressAttributeFormatter addressAttributeFormatter,
                   CatalogSettings catalogSettings,
                   CurrencySettings currencySettings,
                   MeasureSettings measureSettings,
                   PdfSettings pdfSettings,
                   TaxSettings taxSettings,
                   AddressSettings addressSettings)
 {
     this._localizationService    = localizationService;
     this._languageService        = languageService;
     this._nhaxeService           = nhaxeService;
     this._xeinfoService          = xeinfoService;
     this._diachiService          = diachiService;
     this._workContext            = workContext;
     this._hanhtrinhService       = hanhtrinhService;
     this._orderService           = orderService;
     this._paymentService         = paymentService;
     this._dateTimeHelper         = dateTimeHelper;
     this._priceFormatter         = priceFormatter;
     this._currencyService        = currencyService;
     this._measureService         = measureService;
     this._pictureService         = pictureService;
     this._productService         = productService;
     this._productAttributeParser = productAttributeParser;
     this._storeService           = storeService;
     this._storeContext           = storeContext;
     this._settingContext         = settingContext;
     this._webHelper = webHelper;
     this._addressAttributeFormatter = addressAttributeFormatter;
     this._currencySettings          = currencySettings;
     this._catalogSettings           = catalogSettings;
     this._measureSettings           = measureSettings;
     this._pdfSettings     = pdfSettings;
     this._taxSettings     = taxSettings;
     this._addressSettings = addressSettings;
 }
 public HopDongChuyenController(
     ICacheManager cacheManager,
     IStateProvinceService stateProvinceService,
     IHopDongChuyenService hopdongchuyenService,
     INhaXeService nhaxeService,
     ILocalizationService localizationService,
     IWorkContext workContext,
     ICustomerService customerService,
     IChonVeService chonveService,
     IDiaChiService diachiService,
     INhanVienService nhanvienService,
     IPermissionService permissionService,
     IDateTimeHelper dateTimeHelper,
     CustomerSettings customerSettings,
     DateTimeSettings dateTimeSettings,
     ICustomerActivityService customerActivityService,
     IGenericAttributeService genericAttributeService,
     IStoreService storeService,
     INewsLetterSubscriptionService newsLetterSubscriptionService,
     IXeInfoService xeinfoService,
     IHanhTrinhService hanhtrinhService,
     IPriceFormatter priceFormatter,
     ILimousineBanVeService limousinebanveService
     )
 {
     this._cacheManager                  = cacheManager;
     this._stateProvinceService          = stateProvinceService;
     this._nhaxeService                  = nhaxeService;
     this._localizationService           = localizationService;
     this._hopdongchuyenService          = hopdongchuyenService;
     this._workContext                   = workContext;
     this._customerService               = customerService;
     this._chonveService                 = chonveService;
     this._diachiService                 = diachiService;
     this._nhanvienService               = nhanvienService;
     this._permissionService             = permissionService;
     this._dateTimeHelper                = dateTimeHelper;
     this._customerSettings              = customerSettings;
     this._dateTimeSettings              = dateTimeSettings;
     this._customerActivityService       = customerActivityService;
     this._genericAttributeService       = genericAttributeService;
     this._storeService                  = storeService;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._xeinfoService                 = xeinfoService;
     this._hanhtrinhService              = hanhtrinhService;
     this._priceFormatter                = priceFormatter;
     this._limousinebanveService         = limousinebanveService;
 }
Beispiel #6
0
 public NhaXesController(IStateProvinceService stateProvinceService,
                         INhaXeService nhaxeService,
                         ILocalizationService localizationService,
                         IPermissionService permissionService,
                         IWorkContext workContext,
                         IPictureService pictureService,
                         IChonVeService chonveService,
                         IDiaChiService diachiService
                         )
 {
     this._stateProvinceService = stateProvinceService;
     this._nhaxeService         = nhaxeService;
     this._localizationService  = localizationService;
     this._permissionService    = permissionService;
     this._workContext          = workContext;
     this._pictureService       = pictureService;
     this._chonveService        = chonveService;
     this._diachiService        = diachiService;
 }
 public NhaXeHangHoaController(IStateProvinceService stateProvinceService,
                               INhaXeService nhaxeService,
                               ILocalizationService localizationService,
                               IWorkContext workContext,
                               IPictureService pictureService,
                               IPhieuGuiHangService phieuguihangService,
                               IHangHoaService hanghoaService,
                               ICustomerService customerService,
                               IDiaChiService diachiService,
                               INhanVienService nhanvienService,
                               IPermissionService permissionService,
                               IXeInfoService xeinfoService,
                               IHanhTrinhService hanhtrinhService,
                               IBenXeService benxeService,
                               INhaXeCustomerService nhaxecustomerService,
                               IPriceFormatter priceFormatter,
                               CustomerSettings customerSettings,
                               ICustomerRegistrationService customerRegistrationService,
                               IGenericAttributeService genericAttributeService
                               )
 {
     this._genericAttributeService     = genericAttributeService;
     this._customerRegistrationService = customerRegistrationService;
     this._customerSettings            = customerSettings;
     this._priceFormatter       = priceFormatter;
     this._stateProvinceService = stateProvinceService;
     this._nhaxeService         = nhaxeService;
     this._hanghoaService       = hanghoaService;
     this._phieuguihangService  = phieuguihangService;
     this._localizationService  = localizationService;
     this._workContext          = workContext;
     this._pictureService       = pictureService;
     this._customerService      = customerService;
     this._diachiService        = diachiService;
     this._nhanvienService      = nhanvienService;
     this._permissionService    = permissionService;
     this._xeinfoService        = xeinfoService;
     this._hanhtrinhService     = hanhtrinhService;
     this._benxeService         = benxeService;
     this._nhaxecustomerService = nhaxecustomerService;
 }
Beispiel #8
0
 public KeToanController(IKeToanService ketoanService,
                         IGiaoDichKeVeXeService giaodichkeveService,
                         IExportManager exportManager,
                         IStateProvinceService stateProvinceService,
                         INhaXeService nhaxeService,
                         ILocalizationService localizationService,
                         IWorkContext workContext,
                         ICustomerService customerService,
                         IDiaChiService diachiService,
                         INhanVienService nhanvienService,
                         IPermissionService permissionService,
                         IHanhTrinhService hanhtrinhService,
                         IVeXeService vexeService,
                         IPriceFormatter priceFormatter,
                         IPhoiVeService phoiveService,
                         IPhieuGuiHangService phieuguihangService,
                         IHangHoaService hanghoaService,
                         IXeInfoService xeinfoService
                         )
 {
     this._giaodichkeveService  = giaodichkeveService;
     this._exportManager        = exportManager;
     this._ketoanService        = ketoanService;
     this._hanghoaService       = hanghoaService;
     this._phieuguihangService  = phieuguihangService;
     this._stateProvinceService = stateProvinceService;
     this._nhaxeService         = nhaxeService;
     this._localizationService  = localizationService;
     this._workContext          = workContext;
     this._customerService      = customerService;
     this._diachiService        = diachiService;
     this._nhanvienService      = nhanvienService;
     this._permissionService    = permissionService;
     this._hanhtrinhService     = hanhtrinhService;
     this._vexeService          = vexeService;
     this._priceFormatter       = priceFormatter;
     this._phoiveService        = phoiveService;
     this._xeinfoService        = xeinfoService;
 }
Beispiel #9
0
        public VeXeKhachController(IStateProvinceService stateProvinceService,
                                   INhaXeService nhaxeService,
                                   ILocalizationService localizationService,
                                   IWorkContext workContext,
                                   IPictureService pictureService,
                                   ICustomerService customerService,
                                   IChonVeService chonveService,
                                   IDiaChiService diachiService,
                                   INhanVienService nhanvienService,
                                   IPermissionService permissionService,
                                   IDateTimeHelper dateTimeHelper,
                                   CustomerSettings customerSettings,
                                   DateTimeSettings dateTimeSettings,
                                   ICustomerRegistrationService customerRegistrationService,
                                   ICustomerActivityService customerActivityService,
                                   IGenericAttributeService genericAttributeService,
                                   IStoreService storeService,
                                   INewsLetterSubscriptionService newsLetterSubscriptionService,
                                   IXeInfoService xeinfoService,
                                   IHanhTrinhService hanhtrinhService,
                                   IPriceFormatter priceFormatter,
                                   IBenXeService benxeService,
                                   IVeXeService vexeService,
                                   AddressSettings addressSettings,
                                   IAddressAttributeFormatter addressAttributeFormatter,
                                   IAddressService addressService,
                                   ICountryService countryService,
                                   IAddressAttributeParser addressAttributeParser,
                                   IAddressAttributeService addressAttributeService,
                                   IPhoiVeService phoiveService,
                                   IOrderService orderService

                                   )
        {
            this._phoiveService                 = phoiveService;
            this._addressAttributeParser        = addressAttributeParser;
            this._addressAttributeService       = addressAttributeService;
            this._stateProvinceService          = stateProvinceService;
            this._nhaxeService                  = nhaxeService;
            this._localizationService           = localizationService;
            this._workContext                   = workContext;
            this._pictureService                = pictureService;
            this._customerService               = customerService;
            this._chonveService                 = chonveService;
            this._diachiService                 = diachiService;
            this._nhanvienService               = nhanvienService;
            this._permissionService             = permissionService;
            this._dateTimeHelper                = dateTimeHelper;
            this._customerSettings              = customerSettings;
            this._dateTimeSettings              = dateTimeSettings;
            this._customerRegistrationService   = customerRegistrationService;
            this._customerActivityService       = customerActivityService;
            this._genericAttributeService       = genericAttributeService;
            this._storeService                  = storeService;
            this._newsLetterSubscriptionService = newsLetterSubscriptionService;
            this._xeinfoService                 = xeinfoService;
            this._hanhtrinhService              = hanhtrinhService;
            this._priceFormatter                = priceFormatter;
            this._benxeService                  = benxeService;
            this._vexeService                   = vexeService;
            this._addressSettings               = addressSettings;
            this._addressAttributeFormatter     = addressAttributeFormatter;
            this._addressService                = addressService;
            this._countryService                = countryService;
            this._orderService                  = orderService;
        }
Beispiel #10
0
        //address
        /// <summary>
        /// Prepare address model
        /// </summary>
        /// <param name="model">Model</param>
        /// <param name="address">Address</param>
        /// <param name="excludeProperties">A value indicating whether to exclude properties</param>
        /// <param name="addressSettings">Address settings</param>
        /// <param name="localizationService">Localization service (used to prepare a select list)</param>
        /// <param name="stateProvinceService">State service (used to prepare a select list). null to don't prepare the list.</param>
        /// <param name="addressAttributeService">Address attribute service. null to don't prepare the list.</param>
        /// <param name="addressAttributeParser">Address attribute parser. null to don't prepare the list.</param>
        /// <param name="addressAttributeFormatter">Address attribute formatter. null to don't prepare the formatted custom attributes.</param>
        /// <param name="loadCountries">A function to load countries  (used to prepare a select list). null to don't prepare the list.</param>
        /// <param name="prePopulateWithCustomerFields">A value indicating whether to pre-populate an address with customer fields entered during registration. It's used only when "address" parameter is set to "null"</param>
        /// <param name="customer">Customer record which will be used to pre-populate address. Used only when "prePopulateWithCustomerFields" is "true".</param>
        public static void PrepareModel(this AddressModel model,
                                        Address address, bool excludeProperties,
                                        AddressSettings addressSettings,
                                        ILocalizationService localizationService   = null,
                                        IStateProvinceService stateProvinceService = null,
                                        IDiaChiService diachiService = null,
                                        IAddressAttributeService addressAttributeService     = null,
                                        IAddressAttributeParser addressAttributeParser       = null,
                                        IAddressAttributeFormatter addressAttributeFormatter = null,
                                        Func <IList <Country> > loadCountries = null,
                                        bool prePopulateWithCustomerFields    = false,
                                        Customer customer = null)
        {
            if (model == null)
            {
                throw new ArgumentNullException("model");
            }

            if (addressSettings == null)
            {
                throw new ArgumentNullException("addressSettings");
            }

            if (!excludeProperties && address != null)
            {
                model.Id          = address.Id;
                model.FirstName   = address.FirstName;
                model.LastName    = address.LastName;
                model.FullName    = string.Format("{0} {1}", address.FirstName, address.LastName);
                model.Email       = address.Email;
                model.Company     = address.Company;
                model.CountryId   = NhaXesController.CountryID;
                model.CountryName = address.Country != null
                    ? address.Country.GetLocalized(x => x.Name)
                    : null;

                model.StateProvinceId   = address.StateProvinceId;
                model.StateProvinceName = address.StateProvince != null
                    ? address.StateProvince.GetLocalized(x => x.Name)
                    : null;

                model.QuanHuyenId   = address.QuanHuyenId;
                model.City          = address.City;
                model.Address1      = address.Address1;
                model.Address2      = address.Address2;
                model.ZipPostalCode = address.ZipPostalCode;
                model.PhoneNumber   = address.PhoneNumber;
                model.FaxNumber     = address.FaxNumber;
            }

            if (address == null && prePopulateWithCustomerFields)
            {
                if (customer == null)
                {
                    throw new Exception("Customer cannot be null when prepopulating an address");
                }
                model.Email         = customer.Email;
                model.FirstName     = customer.GetAttribute <string>(SystemCustomerAttributeNames.FirstName);
                model.LastName      = customer.GetAttribute <string>(SystemCustomerAttributeNames.LastName);
                model.Company       = customer.GetAttribute <string>(SystemCustomerAttributeNames.Company);
                model.Address1      = customer.GetAttribute <string>(SystemCustomerAttributeNames.StreetAddress);
                model.Address2      = customer.GetAttribute <string>(SystemCustomerAttributeNames.StreetAddress2);
                model.ZipPostalCode = customer.GetAttribute <string>(SystemCustomerAttributeNames.ZipPostalCode);
                model.City          = customer.GetAttribute <string>(SystemCustomerAttributeNames.City);
                //ignore country and state for prepopulation. it can cause some issues when posting pack with errors, etc
                //model.CountryId = customer.GetAttribute<int>(SystemCustomerAttributeNames.CountryId);
                //model.StateProvinceId = customer.GetAttribute<int>(SystemCustomerAttributeNames.StateProvinceId);
                model.PhoneNumber = customer.GetAttribute <string>(SystemCustomerAttributeNames.Phone);
                model.FaxNumber   = customer.GetAttribute <string>(SystemCustomerAttributeNames.Fax);
            }

            //countries and states
            if (addressSettings.CountryEnabled && loadCountries != null)
            {
                if (localizationService == null)
                {
                    throw new ArgumentNullException("localizationService");
                }

                //model.AvailableCountries.Add(new SelectListItem { Text = localizationService.GetResource("Address.SelectCountry"), Value = "0" });
                foreach (var c in loadCountries())
                {
                    model.AvailableCountries.Add(new SelectListItem
                    {
                        Text     = c.GetLocalized(x => x.Name),
                        Value    = c.Id.ToString(),
                        Selected = c.Id == model.CountryId
                    });
                }

                if (addressSettings.StateProvinceEnabled)
                {
                    //states
                    if (stateProvinceService == null)
                    {
                        throw new ArgumentNullException("stateProvinceService");
                    }

                    var states = stateProvinceService
                                 .GetStateProvincesByCountryId(loadCountries().First().Id)
                                 .ToList();
                    if (states.Count > 0)
                    {
                        //model.AvailableStates.Add(new SelectListItem { Text = localizationService.GetResource("Address.SelectState"), Value = "0" });

                        foreach (var s in states)
                        {
                            model.AvailableStates.Add(new SelectListItem
                            {
                                Text     = s.GetLocalized(x => x.Name),
                                Value    = s.Id.ToString(),
                                Selected = (s.Id == model.StateProvinceId)
                            });
                        }
                    }
                    else
                    {
                        bool anyCountrySelected = model.AvailableCountries.Any(x => x.Selected);
                        model.AvailableStates.Add(new SelectListItem
                        {
                            Text  = localizationService.GetResource(anyCountrySelected ? "Address.OtherNonUS" : "Address.SelectState"),
                            Value = "0"
                        });
                    }
                    if (model.StateProvinceId.GetValueOrDefault(0) > 0)
                    {
                        var quanhuyens = diachiService.GetQuanHuyenByProvinceId(model.StateProvinceId.GetValueOrDefault(0));

                        foreach (var s in quanhuyens)
                        {
                            model.AvailableQuanHuyens.Add(new SelectListItem
                            {
                                Text     = s.Ten,
                                Value    = s.Id.ToString(),
                                Selected = (s.Id == model.QuanHuyenId)
                            });
                        }
                    }
                }
            }

            //form fields
            model.CompanyEnabled         = addressSettings.CompanyEnabled;
            model.CompanyRequired        = addressSettings.CompanyRequired;
            model.StreetAddressEnabled   = addressSettings.StreetAddressEnabled;
            model.StreetAddressRequired  = addressSettings.StreetAddressRequired;
            model.StreetAddress2Enabled  = addressSettings.StreetAddress2Enabled;
            model.StreetAddress2Required = addressSettings.StreetAddress2Required;
            model.ZipPostalCodeEnabled   = addressSettings.ZipPostalCodeEnabled;
            model.ZipPostalCodeRequired  = addressSettings.ZipPostalCodeRequired;
            model.CityEnabled            = addressSettings.CityEnabled;
            model.CityRequired           = addressSettings.CityRequired;
            model.CountryEnabled         = addressSettings.CountryEnabled;
            model.StateProvinceEnabled   = addressSettings.StateProvinceEnabled;
            model.PhoneEnabled           = addressSettings.PhoneEnabled;
            model.PhoneRequired          = addressSettings.PhoneRequired;
            model.FaxEnabled             = addressSettings.FaxEnabled;
            model.FaxRequired            = addressSettings.FaxRequired;

            //customer attribute services
            if (addressAttributeService != null && addressAttributeParser != null)
            {
                PrepareCustomAddressAttributes(model, address, addressAttributeService, addressAttributeParser);
            }
            if (addressAttributeFormatter != null && address != null)
            {
                model.FormattedCustomAddressAttributes = addressAttributeFormatter.FormatAttributes(address.CustomAttributes);
            }
        }
 public BanVeController(
     IStateProvinceService stateProvinceService,
     INhaXeService nhaxeService,
     ILocalizationService localizationService,
     IWorkContext workContext,
     IPictureService pictureService,
     IPhieuGuiHangService phieuguihangService,
     IHangHoaService hanghoaService,
     ICustomerService customerService,
     IChonVeService chonveService,
     IDiaChiService diachiService,
     INhanVienService nhanvienService,
     IPermissionService permissionService,
     IDateTimeHelper dateTimeHelper,
     CustomerSettings customerSettings,
     DateTimeSettings dateTimeSettings,
     ICustomerRegistrationService customerRegistrationService,
     ICustomerActivityService customerActivityService,
     IGenericAttributeService genericAttributeService,
     IStoreService storeService,
     INewsLetterSubscriptionService newsLetterSubscriptionService,
     IXeInfoService xeinfoService,
     IHanhTrinhService hanhtrinhService,
     IPriceFormatter priceFormatter,
     IBenXeService benxeService,
     IVeXeService vexeService,
     IPhoiVeService phoiveService,
     IShoppingCartService shoppingCartService,
     IAuthenticationService authenticationService,
     INhaXeCustomerService nhaxecustomerService,
     IGiaoDichKeVeXeService giaodichkeveService
     )
 {
     this._stateProvinceService          = stateProvinceService;
     this._nhaxeService                  = nhaxeService;
     this._hanghoaService                = hanghoaService;
     this._phieuguihangService           = phieuguihangService;
     this._localizationService           = localizationService;
     this._workContext                   = workContext;
     this._pictureService                = pictureService;
     this._customerService               = customerService;
     this._chonveService                 = chonveService;
     this._diachiService                 = diachiService;
     this._nhanvienService               = nhanvienService;
     this._permissionService             = permissionService;
     this._dateTimeHelper                = dateTimeHelper;
     this._customerSettings              = customerSettings;
     this._dateTimeSettings              = dateTimeSettings;
     this._customerRegistrationService   = customerRegistrationService;
     this._customerActivityService       = customerActivityService;
     this._genericAttributeService       = genericAttributeService;
     this._storeService                  = storeService;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._xeinfoService                 = xeinfoService;
     this._hanhtrinhService              = hanhtrinhService;
     this._priceFormatter                = priceFormatter;
     this._benxeService                  = benxeService;
     this._vexeService                   = vexeService;
     this._phoiveService                 = phoiveService;
     this._shoppingCartService           = shoppingCartService;
     this._authenticationService         = authenticationService;
     this._nhaxecustomerService          = nhaxecustomerService;
     this._giaodichkeveService           = giaodichkeveService;
 }