Feat: Filter and improved UI

This commit is contained in:
Sallu9007
2025-04-16 15:32:59 +05:30
parent 411cc7fe03
commit 355eee4892
7 changed files with 520 additions and 161 deletions

View File

@@ -73,4 +73,10 @@ class DepartmentController extends Controller
$department->delete();
return response()->noContent();
}
public function getDepartments()
{
$departments = Department::all();
return response()->json($departments);
}
}