feature: keep sidebar and add service layer
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\Admin\Contracts;
|
||||
|
||||
use Illuminate\Pagination\LengthAwarePaginator;
|
||||
|
||||
interface AdminServiceInterface
|
||||
{
|
||||
public function getUserListWithStats(string $selectedMonth): array;
|
||||
|
||||
public function getUserTransactions(string $msnv, string $selectedMonth): LengthAwarePaginator;
|
||||
|
||||
public function createUser(array $data): void;
|
||||
|
||||
public function updateUser(string $msnv, array $data): void;
|
||||
|
||||
public function deactivateUser(string $msnv): void;
|
||||
|
||||
public function resetAllCards(): void;
|
||||
}
|
||||
Reference in New Issue
Block a user