Records
| #ID | Name | Surname | Action |
|---|
Requirement
What needs to be done
- Show a table with #ID, Name, Surname and a delete (trash) action.
- Above the table, show a search filter on Name and Surname, and an Add button.
- Add opens a center aligned form (Name, Surname, Save). On Save, add the record to the database and return to the list.
- Clicking an ID opens the same form in edit mode and allows editing.
- Clicking the trash icon shows a confirmation prompt, then removes the record.
Development hint: Use one Entity for the records and an Aggregate to list them. Reuse one form screen for both Add and Edit by passing the Record Id as an input (empty for Add). On Save use a CreateOrUpdate action, on delete use the Delete action after a confirmation.