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.Support;
import com.realnet.angulardatatype.Services.SupportInsertService3;
@RequestMapping(value = "/Support")
@RestController
public class SupportInsertController3{
	
	@Autowired
	private SupportInsertService3 Service;

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

}