예제 #1
0
 public void Update(Post post)
 {
     this.posts.Update(post);
     this.posts.SaveChanges();
 }
예제 #2
0
 public void AddEstate(Post post)
 {
     this.posts.Add(post);
     this.posts.SaveChanges();
 }