public async Task <bool> GetUpdateJobProfileRepo() { var jobProfiles = await jobProfileService.GetJobProfilesAsync(); foreach (var jobProfile in jobProfiles) { await repository.UpdateJobProfileAsync(jobProfile); } return(true); }
public async Task <ActionResult> GetManyAsync() { return(await GetResponseAsync(async() => (await _jobProfileService.GetJobProfilesAsync(new JobProfile())) .GetMappedResponse <IEnumerable <JobProfile>, IEnumerable <JobProfile> >(_mapper))); }