public IEnumerable <PostComment> AddPostComment(int?postId) { Post aPost = new Post(); if (postId != null) { aPost.PostId = (int)postId; } List <PostComment> posts = _aPostCommentContainer.GetAllPost(aPost); var queryLondonCustomers3 = from cust in posts orderby cust.PostDate ascending select cust; // List<PostComment> newList = new List<PostComment>(); return(queryLondonCustomers3); }