示例#1
0
 public IActionResult UpdateLiteraryKind(int literaryKindId, [FromBody] LiteraryKindContract data)
 {
     try
     {
         m_catalogValueManager.UpdateLiteraryKind(literaryKindId, data);
         return(Ok());
     }
     catch (HttpErrorCodeException exception)
     {
         return(StatusCode((int)exception.StatusCode, exception.Message));
     }
 }