示例#1
0
 public IActionResult Post([FromBody] Genre genre)
 {
     return(Json(db.CreateGenre(genre.Id, genre.Type)));
 }