public ActionResult AddSupporter(int id, string supporter) { int? supporterid = null; string email = null; if (supporter.AllDigits()) supporterid = supporter.ToInt(); else email = supporter; var m = new MissionTripEmailer() {PeopleId = id}; ViewBag.newid = m.AddRecipient(supporterid, email); return View("Supporters", m); }