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