public string getUserId(KeyValuePair<string, string> param) { if (param.Key == "SSN") { return getUserIdBySsn(param.Value); } throw new ArgumentException("Only SSN lookups are currently implemented"); }