Retrieves all accounts (legacy)
(number string)
| 116 | GetAccountByID(id string, include []string) (*model.Account, error) // Retrieves an account by ID with additional data |
| 117 | GetAllAccounts() ([]model.Account, error) // Retrieves all accounts (legacy) |
| 118 | GetAccountByNumber(number string) (*model.Account, error) // Retrieves an account by its number |
| 119 | UpdateAccount(account *model.Account) error // Updates an account |
| 120 | DeleteAccount(id string) error // Deletes an account |
| 121 |