firstcommit
This commit is contained in:
20
app/Services/ContactUsService.php
Normal file
20
app/Services/ContactUsService.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services;
|
||||
|
||||
use Modules\ContactUs\app\Repositories\ContactUsRepository;
|
||||
|
||||
class ContactUsService
|
||||
{
|
||||
protected $contactUsRepository;
|
||||
|
||||
public function __construct(ContactUsRepository $contactUsRepository)
|
||||
{
|
||||
$this->contactUsRepository = $contactUsRepository;
|
||||
}
|
||||
|
||||
public function storeContactUs(array $validated)
|
||||
{
|
||||
return $this->contactUsRepository->storeContactUsList($validated);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user