public void SavePhoneNumber(string phone, string name, string list_code) { string area_code = HttpContext.Current.Session["AreaID"].ToString(); string user = HttpContext.Current.Session["Username"].ToString(); int list_id = int.Parse(list_code); phone = formatPhone(phone); data_file.SavePhoneToList(phone, name.ToUpper(), list_id, area_code, user); }