Check out example codes for "cannot implicitly convert type 'system.threading.tasks.task string ' to 'string' c#". It will help you in understanding the concepts better.

Code Example 1

public List<int> TestGetMethod()  
{  
    return GetIdList().Result;  
}

Learn ReactJs, React Native from akashmittal.com