package com.realnet.angulardatatype.Controllers;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
import org.springframework.http.*;
import com.realnet.angulardatatype.Entity.Basicp3;
import com.realnet.angulardatatype.Services.Basicp3InsertService2;
@RequestMapping(value = "/Basicp3")
@RestController
public class Basicp3InsertController2{
	
	@Autowired
	private Basicp3InsertService2 Service;

@PostMapping("/Basicp3_insert") 
	public  ResponseEntity<?> insert(@RequestBody Basicp3 basicp3) {
		Basicp3 insertaction = Service.insertaction(basicp3);
		return new ResponseEntity<>(insertaction, HttpStatus.OK);
	}

}