public bool SelectABTestResult(string testGuid, string testName, string status, string testGroupId) { if (string.IsNullOrWhiteSpace(testGuid) || string.IsNullOrWhiteSpace(testName) || string.IsNullOrWhiteSpace(status) || string.IsNullOrWhiteSpace(testGroupId)) { return(false); } var result = dal.SelectABTestResult(testGuid, testGroupId); if (!result) { return(false); } else { List <string> input = new List <string>(); input.Add(testName); using (var client = new ConfigClient()) { var deleteResult = client.UpdateABTestDetailCache(input); if (!deleteResult.Success) { return(false); } else { result = deleteResult.Result; } } return(result); } }