crud menu

This commit is contained in:
2024-08-30 16:14:31 +03:00
parent 5b4676a4c0
commit c325b156bd
28 changed files with 442 additions and 132 deletions

View File

@ -34,16 +34,6 @@ class UserService
return false;
}
public static function check(int $user_id): bool
{
if (User::where(['id' => $user_id])->first())
{
return true;
}
return false;
}
public static function createUsernameArr(): array
{
foreach (User::all()->toArray() as $user) {