Finished RelationService
This commit is contained in:
parent
6dd6550292
commit
3b353cde0b
18
src/Controller/EmployeeController.php
Normal file
18
src/Controller/EmployeeController.php
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Controller;
|
||||||
|
|
||||||
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||||
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
use Symfony\Component\Routing\Attribute\Route;
|
||||||
|
|
||||||
|
class EmployeeController extends AbstractController
|
||||||
|
{
|
||||||
|
#[Route('/employee', name: 'app_employee')]
|
||||||
|
public function index(): Response
|
||||||
|
{
|
||||||
|
return $this->render('employee/index.html.twig', [
|
||||||
|
'controller_name' => 'EmployeeController',
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
1
src/Service/RelationService.php
Normal file
1
src/Service/RelationService.php
Normal file
@ -0,0 +1 @@
|
|||||||
|
<?php
|
Loading…
Reference in New Issue
Block a user