constructor(public Category_Id: number, public Category_Name: string) { } } Step 5Create a model of SubCategory. export class SubCategory { constructor(public SubCategory_ID: number, public Category_ID: number, public SubCategory_Name: string) { } } Step 6 Do the code in Compone...
constructor(props) { super(props) this.state = { StateId:'', CountryId: '', CountryData: [], StateData: [], CityData: [] } } componentDidMount() { axios.get('http://localhost:65173/Api/cascading/Country').then(response => { console.log(response.data); this....