outcomeService->createOutcome($request->validated()); return back()->with('success', 'Course Outcome added successfully'); } /** * Update the specified resource in storage. */ public function update(UpdateCourseOutcomeRequest $request, string $outcome) { $this->outcomeService->updateOutcome($request->validated(), $outcome); return back()->with('success', 'Course Outcome updated successfully'); } /** * Remove the specified resource from storage. */ public function destroy(string $outcome) { $this->outcomeService->deleteOutcome($outcome); return back()->with('success', 'Course Outcome deleted successfully'); } }