public ActionResult CreatePoll(PollViewModel Poll, FormCollection frm) { var invitees = new List <string>(); if (!string.IsNullOrEmpty(frm["invitees"])) { invitees = frm["invitees"].Split(',').ToList(); } var result = _surveyManager.CreatePoll(Poll, invitees); return(Content(result.ToString())); }