I've function Getdetails() which return List<Section> . how to get this list object when I call this function from other class in c#.