private void UnsubscribeDonor(string email) { var table = Donations.GetDataByEmail(email); if (table.Count == 0) { Message.InnerText = "The requested email address was not found"; return; } foreach (var row in table) { row.OptOut = true; } Donations.UpdateTable(table); Message.InnerText = $"Email {email} has been unsubscribed from all future emails."; }