package com.realnet.order_estimation.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.order_estimation.Entity.Customer_information;
import com.realnet.order_estimation.Services.Customer_informationInsertService1;
@RequestMapping(value = "/Customer_information")
@RestController
public class Customer_informationInsertController1{
	
	@Autowired
	private Customer_informationInsertService1 Service;

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

}