コード例 #1
0
 public IActionResult UpdateLiteraryGenre(int literaryGenreId, [FromBody] LiteraryGenreContract data)
 {
     try
     {
         m_catalogValueManager.UpdateLiteraryGenre(literaryGenreId, data);
         return(Ok());
     }
     catch (HttpErrorCodeException exception)
     {
         return(StatusCode((int)exception.StatusCode, exception.Message));
     }
 }