예제 #1
0
 public void UpdatePosts(Posts pst)
 {
 }
예제 #2
0
        //** All Posts

        public void AddNewPost(Posts post)
        {
            post.PostDate = DateTime.Today;
            tc.Posts.Add(post);
            tc.SaveChanges();
        }