Commit b88caf13 authored by Vijay Akula's avatar Vijay Akula

updated the apis of addteamwithcheck

parent 7ac0ac7d
...@@ -36,7 +36,7 @@ public class ResourceController { ...@@ -36,7 +36,7 @@ public class ResourceController {
private IProjectService projectService; private IProjectService projectService;
@Autowired @Autowired
// private EmployeeVisaRepo employeeVisaRepo; private EmployeeVisaRepo employeeVisaRepo;
@Autowired @Autowired
private IResourceService resourceService; private IResourceService resourceService;
...@@ -246,7 +246,7 @@ public class ResourceController { ...@@ -246,7 +246,7 @@ public class ResourceController {
} }
@RequestMapping(value = "/addEmployeeToTeamWithCheck", method = RequestMethod.POST, produces = MediaType.TEXT_PLAIN_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE) @RequestMapping(value = "/addEmployeeToTeamWithCheck", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<?> addEmployeeToTeamWithCheck(@RequestBody Resource resourceReq, public ResponseEntity<?> addEmployeeToTeamWithCheck(@RequestBody Resource resourceReq,
@RequestParam(value = "loginEmpId") String loginEmpId, HttpServletRequest request) throws MyTeamException { @RequestParam(value = "loginEmpId") String loginEmpId, HttpServletRequest request) throws MyTeamException {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment