public ActionResult GetValuesEmailsByHavuzName(List <string> chkData) { List <SmsConfiguration> SendMail = MailManager.GetHavuzName1(chkData); var list = SendMail.Select(m => new { m.Email }).Distinct().ToList(); ViewBag.Liste = list.Select(m => m.Email).Distinct().ToList(); return(View()); }