public IActionResult UpdateCuttingMethodTemplate([FromBody] CuttingMethodTemplate cuttingMethodTemplate) { DBResponse dbResponse = ToolInventoryRepo.UpdateCuttingMethodTemplate(cuttingMethodTemplate); return(StatusCode(StatusCodes.Status200OK, new APIResponse { ResponseCode = 0, ResponseText = "Template updated" })); }
public APIResponse UpdateCuttingMethodTemplate(CuttingMethodTemplate cuttingMethodTemplate) { DBResponse dbResponse = ToolInventoryRepo.UpdateCuttingMethodTemplate(cuttingMethodTemplate); return(new APIResponse { ResponseCode = 0, ResponseText = "Template updated" }); }