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