update fix deadcode, security

This commit is contained in:
baodev0
2026-09-28 08:26:29 +07:00
parent 3af59bd9c5
commit 82080b5b84
452 changed files with 4857 additions and 26289 deletions
@@ -26,11 +26,6 @@ abstract class BaseApiRepository implements BaseRepositoryInterface
return $this->model->create($data);
}
public function getAll()
{
return $this->model->all();
}
public function find($id)
{
return $this->model->find($id);
@@ -63,9 +58,4 @@ abstract class BaseApiRepository implements BaseRepositoryInterface
return false;
}
public function getCount()
{
return $this->model->count('id');
}
}