| | |
| | | package com.pollex.pam.web.rest; |
| | | |
| | | import com.pollex.pam.aop.logging.audit.AuditLoggingInject; |
| | | import com.pollex.pam.aop.logging.audit.AuditLoggingType; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | |
| | | import com.pollex.pam.service.InterviewRecordService; |
| | | import com.pollex.pam.service.dto.InterviewRecordDTO; |
| | | |
| | | import static com.pollex.pam.aop.logging.audit.AuditLoggingType.CONSULTANT_CREATE_INTERVIEW; |
| | | |
| | | @RestController |
| | | @RequestMapping("/api/interview_record") |
| | | public class InterviewRecordResource { |
| | |
| | | @Autowired |
| | | InterviewRecordService interviewRecordService; |
| | | |
| | | @AuditLoggingInject(type = CONSULTANT_CREATE_INTERVIEW) |
| | | @PostMapping("/create") |
| | | public InterviewRecord create(@RequestBody InterviewRecordDTO dto) { |
| | | return interviewRecordService.create(dto); |