Asp.net – Async method not able to return bool value
private void ValidatePolicy (string PolicyNumber) { var ispolicyvalid = this.IsPolicyExistInADCAsync(PolicyNumber); if(ispolicyvalid) // here I am getting error { // some logic happens here } } This is my code here I am getting an error - cannot implicitly convert type…