/// <summary> /// Get Tariff Rate Base Data /// </summary> /// <returns></returns> public ServiceRateBaseResponse GetBaseData() { return(new ServiceRateBaseResponse { Operations = operationRepository.GetSalesOperation(), TariffTypes = tariffTypeRepository.GetAll(), }); }
/// <summary> /// Load company Base data /// </summary> public AdditionalDriverBaseResponse GetBaseData() { return(new AdditionalDriverBaseResponse { Companies = companyRepository.GetAll(), Departments = departmentRepository.GetAll(), Operations = operationRepository.GetAll(), TariffTypes = tariffTypeRepository.GetAll(), }); }
/// <summary> /// Load Chauffer Charge Base data /// </summary> public ChaufferChargeBaseResponse GetBaseData() { return(new ChaufferChargeBaseResponse { Companies = companyRepository.GetAll(), Departments = departmentRepository.GetAll(), Operations = operationRepository.GetAll(), TariffTypes = tariffTypeRepository.GetAll(), DesigGrades = designGradeRepository.GetAll(), }); }
/// <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(), }); }
/// <summary> /// Load All Tariff Type /// </summary> /// <returns></returns> public IEnumerable <TariffType> LoadAll() { return(tariffTypeRepository.GetAll()); }