Hello everyone,
we are calling asynchronous API's while submiting the form arround 8 API's calling.
Form data will be inserted to database & API's will do the respective operations in diferent application.
As of now we are not waiting for the API response , after successfull inster we are showing success message.
Now i wanted to grab all the API's response , based on the response i will be updating the satatus later so what iam looking is is there any way to capture all the api response in single point without waiting period for application ?
Thanks
Madan S B


Jignesh KumarRank #91 · 22.9K reputationPosted Jun 5, 2022, 5:26 AM EDT
Hi Madan Shekhae,
we need to use Task.WhenAll();
Rijwan AnsariRank #82 · 24.2K reputationPosted Jun 5, 2022, 8:46 AM EDT
Satya KarkiRank #78 · 24.6K reputationPosted Jun 5, 2022, 8:50 AM EDT
Abhishek ChadhaRank #402 · 6.2K reputationPosted Jun 5, 2022, 4:12 AM EDT