State & City Management
States
| Id | State Name | Remove |
|---|
Add State
Cities
| Id | City Name | State Name | Is Capital | Info | Remove |
|---|
Add City
Find City Details
Business requirement — Database Operation 4
Reuse the State form for editing when a user selects a state name.
- Make State Name a link in the listing.
- Pass the selected State Id to the State form.
- Load the existing record when the Id is present.
- Update instead of creating and show a spinner while saving.