#10 Started on creating front end pages for the admin

This commit is contained in:
2024-02-13 10:04:59 +00:00
parent 7f77dcdd02
commit b6721cc777
4 changed files with 98 additions and 4 deletions

View File

@ -63,6 +63,12 @@ class UserController(DatabaseController):
return self.convert_type(self.get_one(query, params))
def read_all(self) -> list[User] | None:
params = []
query = """ SELECT * FROM Users """
return self.get_many(query, params)
def update(self):
print("Doing work")