async public System.Threading.Tasks.Task <MzkTechnicalInspectionValidateUserResponse> ValidateUser(string userId, string password) { try { return(await client.validateUserAsync(userId, password)); } catch (Exception ex) { throw; } }
async public Task <bool> ValidateUser(string userId, string password) { try { var result = await _client.validateUserAsync(new CallContext() { Company = "1000" }, userId, password); return(result.response); } catch (Exception) { throw; } }