Skip to content

Commit

Permalink
Deployer hoved-branchen våres #deploy-levende-arbeidsforhold-ansettelse
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea-Devold-Fjeld committed Jul 20, 2024
1 parent f90314c commit 381c17f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,19 @@ public class JobbController {
@Autowired
private final JobbService jobbService;

private final KodeverkService kodeverkService;
private final AnsettelseService ansettelseService;

@GetMapping
public ResponseEntity<List<JobbParameterEntity>> hentAlleJobber() {
return ResponseEntity.ok(jobbService.hentAlleParametere());
}

/*
@PostMapping("/parameter/ny")
public ResponseEntity<JobbParameterEntity> lagParameter(@RequestParam JobbParameterEntity jobbParameterEntity) {
jobbService.lagreParameter(jobbParameterEntity);
return ResponseEntity.ok(jobbParameterEntity);
}

*/
@GetMapping("/verdi/{parameterNavn}")
public List<VerdierEntity> hentVerdier(@PathVariable("parameterNavn") String parameternavn) {
return jobbService.hentAlleMedNavn(parameternavn);
Expand Down

0 comments on commit 381c17f

Please sign in to comment.