예제 #1
0
 public void createNewTool([FromBody] ToolDTO toolDTO)
 {
     try
     {
         _toolRepo.addNewTool(toolDTO);
     }
     catch
     {
         BadRequest();
     }
 }