porting/src/main/java/com/stackroute/pie/controller/PortingRequestController.java
//Method to store porting request details
Method to store porting request details
Method to store porting request details
@PostMapping("request")
    public ResponseEntity postRequest (@RequestBody PortingRequest request) {
        ResponseEntity responseEntity;
        PortingRequest request1 = requestService.postRequest(request);
        responseEntity = new ResponseEntity<PortingRequest>(request1, HttpStatus.OK);
        return responseEntity;
    }
@ PostMapping ( "request" ) public ResponseEntity postRequest ( @ RequestBody PortingRequest request ) { ResponseEntity responseEntity ; PortingRequest request1 = requestService . postRequest ( request ) ; responseEntity = new ResponseEntity < PortingRequest > ( request1 , HttpStatus . OK ) ; return responseEntity ; }
Method to store porting request details
Method to store porting request details