Cannot implicity convert type void to System.Threading.Tasks.Task<bool>
- by sagesky36
I have a WCF Service that contains the following method. All the methods in the service are asynchrounous and compile just fine.
public async Task<Boolean> ValidateRegistrationAsync(String strUserName)
{
try
{
using (YeagerTechEntities DbContext = new YeagerTechEntities())
{
…