fix&feat(Logout & Contact service)

This commit is contained in:
2025-10-24 14:38:11 +02:00
parent ec1e45d1ec
commit 868b9a837b
9 changed files with 55 additions and 30 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace App\Services;
use App\Models\Contact;
class ContactService
{
public function __construct()
{
//
}
public function registerNewContactRequest(array $data): Contact
{
$contact = new Contact();
$contact->fill($data);
$contact->save();
}
}