what is wrong with such code
public List<SearchItem> Search(string find)
{
return (from i in _dataContext.News where i.Text.Contains(find) select new SearchItem { ControllerAction = "test", id = i.Id.ToString(), LinkText = "test" }).ToList();
}
public struct SearchItem
{
public string ControllerAction;
public string LinkText;
public string id;
}