public VehicleDetailsController_002() { OperstatModel = new FilterModel2(new OperstatRepository()); MoveTypeModel = new FilterModel2(new MoveTypeRepository()); ThreeCascadeModel = new ThreeCascadeFilterModel(new FleetEuropeActualDueCountriesRepository(), new PoolRepository(), new LocationRepository()); OwnCountryModel = new FilterModel2(new FleetActualEuropeOwnCountriesRepository()); CarSegmentModel = new FilterModel2(new CarSegmentRepository()); CarClassModel = new FilterModel2(new CarClassRepository()); CarGroupModel = new FilterModel2(new CarGroupRepository()); VehiclePredicamentModel = new FilterModel2(new VehiclePredicamentRepository()); NonRevDaysModel = new NonRevFilterModel(new NonrevRepository()); GridViewModel = new GridviewModel(new VehicleDetailsRepository()); _filter = new FilterEntity(); _carFilter = new CarFilterEntity(); VehicleDetailsUserControlModel = new VehicleDetailsUserControlModel(new VehicleDetailsRepository()); PagerMaxModel = new PagerMaxRowsModel(new GridViewMaxRowsRepository()); UnitTextBoxModel = new TextFilterModel(); LicenseTextBoxModel = new TextFilterModel(); ModelTextBoxModel = new TextFilterModel(); ModelDescTextBoxModel = new TextFilterModel(); VinTextBoxModel = new TextFilterModel(); CustNameTextBoxModel = new TextFilterModel(); ColourTextBoxModel = new TextFilterModel(); MileageTextBoxModel = new TextFilterModel(); FilterGridButtonModel = new ButtonModel(); ClearFiltersButtonModel = new ButtonModel(); }
public ReservationAnalysisController() { DropDownListReservationCountry = new FilterModel(new ReservationCountryRepository()); DropDownListRtrnCountry = new FilterModel(new ReservationReturnCountryRepository()); DropDownNoOfDays = new NonRevFilterModel(new NoOfDaysRepository()); DropDownNoOfDays.FirstItem = ""; Gridview = new ReservationAnalysisGridViewModel(new ReservationAnalysisRepository()); }
public ForeignNonRevenueController() { NonRevDaysModel = new NonRevFilterModel(new NonrevRepository()); OwnCountryModel = new FilterModel(new FleetActualEuropeOwnCountriesRepository()); DataTableModel = new DataTableModel(new ForeignNonRevenueRepository()); DataTableModel.Filter = new FilterEntity(); _country = new CountryDescriptionRepository(); }
public ReservationBalanceController() { NoOfDaysModel = new NonRevFilterModel(new NoOfDaysRepository()); NoOfDaysModel.FirstItem = ""; _GridViewModel = new GridViewReservationBalanceModel(new ReservationBalanceRespository()); }