Convert lambda expression to Json in MVC
问题 I get an error ("Cannot convert lambda expression to type 'string' because it is not a delegate type") during converting the lambda expression in controller. I have 3 entities in as below: Entities: public class Student { public int ID { get; set; } public string Course { get; set; } public int CityID { get; set; } public virtual City City { get; set; } } public class City { public int ID { get; set; } public string Name { get; set; } public int RegionID { get; set; } public virtual Region