crud menu

This commit is contained in:
stasbilay02 committed 2024-08-30 16:14:31 +03:00
1 parent 5b4676a4c0
commit c325b156bd
28 files changed
+442 -132

No files matched your search

-10
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) {