public IHttpActionResult AddTags([FromBody] dynamic req) { int[] masTag = req.Tags.ToObject <int[]>(); int photoId = req.PhotoId; myPhotoService.AddTagToDb(photoId, masTag); return(Ok()); }