예제 #1
0
 public Post AddPost(Post post)
 {
     return(_dataLayer.AddPost(post));
 }
예제 #2
0
 [HttpPost]//ok
 public Posts CreatePost(Posts post)
 {
     return(_dataLayer.AddPost(post));
 }