package com.realnet.basic1.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.basic1.Entity.Formb;
import com.realnet.basic1.Services.FormbInsertService5;
@RequestMapping(value = "/Formb")
@RestController
public class FormbInsertController5{
	
	@Autowired
	private FormbInsertService5 Service;

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

}