コード例 #1
0
 // PUT api/<controller>/5
 public void Put(int PostId, [FromBody] CommentsModel Comments)
 {
     PostLogic.AddComment(PostId, PostControllerMapper.Map <CommentsModel, CommentsDTO>(Comments));
 }