public function show($id) { $dept = $this->dept->findOrFail($id); return Response::json(['success' => true, 'error' => false, 'results' => $dept->toArray()]); }