예제 #1
0
        public IActionResult UpdatePost([FromBody] Post post)
        {
            ConnectManager c = new ConnectManager();

            if (c.UpdatePost(post))
            {
                return(Ok());
            }
            else
            {
                return(NotFound());
            }
        }