public IActionResult UpdateToolSetupSheet([FromBody] ToolSetupSheet toolSetupSheet) { DBResponse dbResponse = ToolInventoryRepo.UpdateToolSetupSheet(toolSetupSheet); return(StatusCode(StatusCodes.Status200OK, new APIResponse { ResponseCode = 0, ResponseText = "Setup Sheet updated" })); }
public APIResponse UpdateToolSetupSheet(ToolSetupSheet toolSetupSheet) { DBResponse dbResponse = ToolInventoryRepo.UpdateToolSetupSheet(toolSetupSheet); return(new APIResponse { ResponseCode = 0, ResponseText = "Setup Sheet updated" }); }