ViSnezh
This commit is contained in:
1 parent
e0c11fedc7
commit
b52e056868
3 files changed
+17
No files matched your search
@@ -117,6 +117,17 @@ public class ProjectController {
|
||||
return modelAndView;
|
||||
}
|
||||
|
||||
@GetMapping("/{commercialStatus}")
|
||||
public ModelAndView getAllProjectsWithCommercialStatus(@PathVariable("commercialStatus") int commercialStatus) {
|
||||
ModelAndView modelAndView = new ModelAndView();
|
||||
|
||||
modelAndView.addObject("projects", projectService.getAllProjectsWithCommercialStatus(commercialStatus));
|
||||
modelAndView.setViewName("all-projects");
|
||||
|
||||
|
||||
return modelAndView;
|
||||
}
|
||||
|
||||
@PostMapping("/{projectId}/{nameOfPosition}/applay")
|
||||
public ModelAndView applayOnProject(@PathVariable("projectId") Long projectId,
|
||||
@PathVariable("nameOfPosition") String nameOfPosition,
|
||||
|
||||
Reference in new issue
Block a user