예제 #1
0
        public IHttpActionResult AddTags([FromBody] dynamic req)
        {
            int[] masTag  = req.Tags.ToObject <int[]>();
            int   photoId = req.PhotoId;

            myPhotoService.AddTagToDb(photoId, masTag);
            return(Ok());
        }