示例#1
0
 public IActionResult Insert([FromBody] Movie movie)
 {
     return(Ok(db.CreateMovie(movie.Id, movie.Title, Convert.ToInt32(movie.GenreId), movie.Director, movie.Description, Convert.ToInt32(movie.DurationMin))));
 }