public IActionResult CopyTool([FromBody] ToolInventorySaveRequest copyToolRequest) { return(StatusCode(StatusCodes.Status200OK, ToolInventoryRepo.CopyTool(copyToolRequest.ID))); }
public int CopyTool(ToolInventorySaveRequest copyToolRequest) { return(ToolInventoryRepo.CopyTool(copyToolRequest.ID)); }