예제 #1
0
 // PUT api/<controller>/5
 public void Put(int Id, [FromBody] PostModel Post)
 {
     PostLogic.EditPost(Id, PostControllerMapper.Map <PostModel, PostDTO>(Post));
 }