I have LINQ query
Label = c.Name.Translations.Select(label => new Label
{
Rus = label.Text,
Eng = label.Text,
}),
Translation class
public int Id { get; set; }
public string Text { get; set; }
public virtual ICollection<Translation> Translations { get; set; }
public class Translation
{
public int Id { get; set; }
public string Language { get; set; }
public string Text { get; set; }
}
which return list like this
{
"rus":"Нью-Йорк",
"eng":"Нью-Йорк"
},
{
"rus":"New-York",
"eng":"New-York"
My goal is have one item like this
"rus":"Нью-Йорк",
"eng":"New-York"
How can i filter it ?