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