add(); } #[RequestMapping(path: "edit", methods: "POST")] #[Scene(scene: "edit")] public function edit(EmployeeRequest $request) { return (new EmployeeService)->edit(); } #[RequestMapping(path: "del", methods: "POST")] #[Scene(scene: "del")] public function delete(EmployeeRequest $request) { return (new EmployeeService)->delete(); } #[RequestMapping(path: "list", methods: "POST")] #[Scene(scene: "list")] public function list(EmployeeRequest $request) { return (new EmployeeService)->handle(); } #[RequestMapping(path: "info", methods: "POST")] #[Scene(scene: "info")] public function info(EmployeeRequest $request) { return (new EmployeeService)->get(); } }