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