/// <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() }); }
public IEnumerable <JobType> GetAll() { // get all activity types return(_JobTypeRepo.GetAll()); }
public async Task <IEnumerable <JobType> > GetAllTypes() { return(await _repo.GetAll()); }
public IEnumerable <JobType> GetAllJobTypes() { return(_jobTypeRepository.GetAll()); }
/// <summary> /// Load all Job Types /// </summary> public IEnumerable <JobType> LoadAll() { return(jobTypeRepository.GetAll()); }