/// <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 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() }); }
/// <summary> /// Load all Design Grades /// </summary> public IEnumerable <DesignGrade> LoadAll() { return(desigGradeRepository.GetAll()); }