Esempio n. 1
0
 public ApiController(
     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,
     IGiaoDichKeVeXeService giaodichkeveService
     )
 {
     this._giaodichkeveService         = giaodichkeveService;
     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;
 }
Esempio n. 2
0
        public NhaXeService(ICacheManager cacheManager,
                            IRepository <NhaXe> nhaxeRepository,
                            IRepository <HistoryXeXuatBen> historyxexuatbenRepository,
                            IRepository <ChuyenDi> chuyendiRepository,
                            IRepository <HanhTrinhKhuVuc> hanhtrinhkhuvucRepository,
                            IRepository <NhanVien> nhanvienRepository,
                            IRepository <NguonVeXe> NguonVeXeRepository,
                            IRepository <HopDong> hopdongRepository,
                            IRepository <NhaXePicture> pictureRepository,
                            IXeInfoService xeinfoService,
                            IGiaoDichKeVeXeService giaodichkeveService,
                            IRepository <VanPhong> vanphongRepository,
                            IRepository <LichTrinh> LichTrinhRepository,
                            IRepository <XeVanChuyen> XeVanChuyenRepository,
                            IRepository <NhaXeCauHinh> nhaxecauhinhRepository,
                            IRepository <HistoryXeXuatBenLog> historyxexuatbenlogRepository,
                            IRepository <ChotKhach> chotkhachRepository,
                            IRepository <HistoryXeXuatBen_NhanVien> historyxexuatbennhanvienRepository,
                            IRepository <DiaChiMac> diachimacRepository
                            )
        {
            this._historyxexuatbennhanvienRepository = historyxexuatbennhanvienRepository;
            this._chotkhachRepository           = chotkhachRepository;
            this._chuyendiRepository            = chuyendiRepository;
            this._hahtrinhkhuvucRepository      = hanhtrinhkhuvucRepository;
            this._historyxexuatbenlogRepository = historyxexuatbenlogRepository;
            this._nhaxecauhinhRepository        = nhaxecauhinhRepository;
            this._historyxexuatbenRepository    = historyxexuatbenRepository;
            this._nhaxeRepository       = nhaxeRepository;
            this._nhanvienRepository    = nhanvienRepository;
            this._cacheManager          = cacheManager;
            this._xeinfoService         = xeinfoService;
            this._NguonVeXeRepository   = NguonVeXeRepository;
            this._hopdongRepository     = hopdongRepository;
            this._pictureRepository     = pictureRepository;
            this._vanphongRepository    = vanphongRepository;
            this._LichTrinhRepository   = LichTrinhRepository;
            this._XeVanChuyenRepository = XeVanChuyenRepository;
            this._diachimacRepository   = diachimacRepository;

            this._giadichkeveService = giaodichkeveService;
        }
Esempio n. 3
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;
 }