You can use async methods to handle asynchronous executions. For example POST and GET requests. Let say below is your get data method.
Task<List> GetDataFromServer(int type);
You can call that method as shown below
var result = await GetDataFromServer(1);
However, in real day practic...