| | 1 | == Use-case 0011 - Add Platform Services |
| | 2 | |
| | 3 | '''Initiating actor:''' Admin |
| | 4 | |
| | 5 | '''Other actors:''' None |
| | 6 | |
| | 7 | '''Description:''' |
| | 8 | The Admin wants to expand the platform's offerings by adding a new service category (for example "Pet Grooming") so that sitters can add it to their profiles. |
| | 9 | |
| | 10 | '''Scenario:''' |
| | 11 | 1. Admin navigates to the "Manage Services" page. |
| | 12 | 2. System fetches the current list of platform services: |
| | 13 | {{{ |
| | 14 | #!sql |
| | 15 | SELECT service_id, type, description |
| | 16 | FROM services |
| | 17 | ORDER BY type ASC; |
| | 18 | }}} |
| | 19 | 3. Admin enters "Pet Grooming" and a description into the new service form and clicks Submit. |
| | 20 | 4. System creates the new service in the database: |
| | 21 | {{{ |
| | 22 | #!sql |
| | 23 | INSERT INTO services (type, description) |
| | 24 | VALUES ( |
| | 25 | 'Pet Grooming', |
| | 26 | 'Taking your pet to a grooming salon.' |
| | 27 | ); |
| | 28 | }}} |