private List<Post> getPost(SPList lst) { List<Post> lstPost = new List<Post>(); foreach (SPListItem spli in lst.Items) { Post p = new Post(spli, lst.ParentWeb); lstPost.Add(p); } return lstPost; }
public void addCommend(Comment comment, Post post) { throw new NotImplementedException(); }