So I was first retrieving data from a database in this manner respectively with each entity repo:
_dbset.ShareCompany.ToList();
_dbset.SourceOfIncome.ToList();
Likewise there were more db calls. Then I changed my db call to:
await _dbset.ShareCompany.ToListAsync();
await _dbset.SourceOfIncome.ToListAsync();
But I do not think that there is any performance benefit with this async call as it has to wait for the data to be retreived, which actually in turn makes it into sync call. If I have to wait for the data in order to retrieve my next data.
So if anyone could tell me when is it a good practice to use async calls and will there be any performance benefit if I use async in my second code and how?