public ActionResult Comments(int? Id)
{ var abccomment= db.xyzComments.Include(c=>c.XYZMasters);
var comments = (from x in abccomment
where Id == x.CcId select x.Comment).Distinct().ToList();
return View(comments); }
@model IEnumerable<farma.Models.XYZMaster>
@foreach (var item in Model)
{ @item.XYZComment.Comment }
1[System.String]', but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable