/// <summary> /// Get Tariff Rate Base Data /// </summary> /// <returns></returns> public TariffRateBaseResponse GetBaseData() { return(new TariffRateBaseResponse { Companies = companyRepository.GetAll(), Departments = departmentRepository.GetAll(), Operations = operationRepository.GetAll(), HireGroups = hireGroupRepository.GetAll(), VehicleModels = vehicleModelRepository.GetAll(), VehicleMakes = vehicleMakeRepository.GetAll(), VehicleCategories = vehicleCategoryRepository.GetAll(), TariffTypes = tariffTypeRepository.GetAll(), }); }
/// <summary> /// Load Seasonal Discount Base data /// </summary> public SeasonalDiscountBaseResponse GetBaseData() { return(new SeasonalDiscountBaseResponse { Companies = companyRepository.GetAll(), Departments = departmentRepository.GetAll(), Operations = operationRepository.GetAll(), TariffTypes = tariffTypeRepository.GetAll(), OperationsWorkPlaces = operationsWorkPlaceRepository.GetAll(), VehicleCategories = vehicleCategoryRepository.GetAll(), VehicleModels = vehicleModelRepository.GetAll(), VehicleMakes = vehicleMakeRepository.GetAll(), HireGroups = hireGroupRepository.GetAll(), BpRatingTypes = ratingTypeRepository.GetAll(), }); }