/// <summary> /// Load Non Revenue Ticket Base data /// </summary> public NRTBaseResponse GetBaseData() { return(new NRTBaseResponse { Operations = operationRepository.GetAll(), Locations = operationsWorkPlaceRepository.GetAll(), NRTTypes = nrtTypeRepository.GetAll(), VehicleStatuses = vehicleStatusRepository.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> /// Get Base Data /// </summary> /// <returns></returns> public EmployeeBaseResponse GetBaseData() { return(new EmployeeBaseResponse { EmpStatuses = empStatusRepository.GetAll(), Companies = companyRepository.GetAll(), JobTypes = jobTypeRepository.GetAll(), Departments = departmentRepository.GetAll(), DesigGrades = desigGradeRepository.GetAll(), WorkPlaces = workplaceRepository.GetAll(), Regions = regionRepository.GetAll(), Countries = countryRepository.GetAll(), SubRegions = subRegionRepository.GetAll(), Cities = cityRepository.GetAll(), Areas = areaRepository.GetAll(), PhoneTypes = phoneTypeRepository.GetAll(), LicenseTypes = licenseTypeRepository.GetAll(), Operations = operationRepository.GetAll(), OperationsWorkPlaces = operationsWorkPlaceRepository.GetAll(), Supervisors = employeeRepository.GetAll(), Designations = designationRepository.GetAll(), AddressTypes = addressTypeRepository.GetAll() }); }