var listair = empcon.OrderBy(x => x.CustomerConnection.OrderBy(y => y.Id)).ToList();
When I am using this statement then I am getting exception "At least one object must implement IComparable"
How can I solve this problem?
var listair = empcon.OrderBy(x => x.CustomerConnection.OrderBy(y => y.Id)).ToList();
When I am using this statement then I am getting exception "At least one object must implement IComparable"
How can I solve this problem?