You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.5 KiB
56 lines
1.5 KiB
package com.gcc.publicgrievance.controller;
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.ui.Model;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
@Controller
|
|
public class UserController {
|
|
|
|
@GetMapping("/home")
|
|
public String home(Model model) {
|
|
return "User/home";
|
|
}
|
|
@GetMapping("/registercomplaints")
|
|
public String registercomplaints(Model model) {
|
|
return "User/registercomplaints";
|
|
}
|
|
@GetMapping("/officercomplaint")
|
|
public String officercomplaint(Model model) {
|
|
return "officer/officercomplaint";
|
|
}
|
|
@GetMapping("/checklistofficer")
|
|
public String checklistofficer(Model model) {
|
|
return "checklistofficer/checklistofficer";
|
|
}
|
|
@GetMapping("/checklistuser")
|
|
public String checklistuser(Model model) {
|
|
return "checklistuser/checklistuser";
|
|
}
|
|
//staff
|
|
@GetMapping("/createorder")
|
|
public String createorder(Model model) {
|
|
return "staff/createorder";
|
|
}
|
|
@GetMapping("/staffenrollment")
|
|
public String staffenrollment(Model model) {
|
|
return "staff/staffenrollment";
|
|
}
|
|
@GetMapping("/appoinmentscreen")
|
|
public String appoinmentscreen(Model model) {
|
|
return "staff/appoinmentscreen";
|
|
}
|
|
@GetMapping("/schemegroup")
|
|
public String schemegroup(Model model) {
|
|
return "staff/schemegroup";
|
|
}
|
|
@GetMapping("/appoinment")
|
|
public String appoinment(Model model) {
|
|
return "staff/appoinment";
|
|
}
|
|
//tradelicence
|
|
@GetMapping("/tradelicence")
|
|
public String tradelicence(Model model) {
|
|
return "Tradelicence/tradelicence";
|
|
}
|
|
}
|