21 lines
443 B
PHP
21 lines
443 B
PHP
<?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);
|
|
}
|
|
}
|