mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 20:31:05 +03:30
Product
This commit is contained in:
@@ -13,7 +13,7 @@ class TestResultController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
$TestResult = TestResult::with('test_type')->paginate(10);
|
||||
$TestResult = TestResult::with('test_type', 'user', 'user.medical_center')->paginate(10);
|
||||
return \MessageResponse::data($TestResult);
|
||||
}
|
||||
|
||||
@@ -107,9 +107,10 @@ class TestResultController extends Controller
|
||||
//
|
||||
}
|
||||
|
||||
public function edit($id)
|
||||
//Todo:: pass Inputs
|
||||
public function edit(TestResult $TestResult)
|
||||
{
|
||||
//
|
||||
return \MessageResponse::data($TestResult);
|
||||
}
|
||||
|
||||
public function update(StoreTestResultRequest $request, TestResult $TestResult)
|
||||
|
||||
Reference in New Issue
Block a user