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.Product_selection;
import com.realnet.order_estimation.Services.Product_selectionInsertService1;
@RequestMapping(value = "/Product_selection")
@RestController
public class Product_selectionInsertController1{
	
	@Autowired
	private Product_selectionInsertService1 Service;

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

}