public IActionResult UpdateCuttingMethodTemplate([FromBody] CuttingMethodTemplate cuttingMethodTemplate)
        {
            DBResponse dbResponse = ToolInventoryRepo.UpdateCuttingMethodTemplate(cuttingMethodTemplate);

            return(StatusCode(StatusCodes.Status200OK, new APIResponse
            {
                ResponseCode = 0,
                ResponseText = "Template updated"
            }));
        }
Пример #2
0
        public APIResponse UpdateCuttingMethodTemplate(CuttingMethodTemplate cuttingMethodTemplate)
        {
            DBResponse dbResponse = ToolInventoryRepo.UpdateCuttingMethodTemplate(cuttingMethodTemplate);

            return(new APIResponse
            {
                ResponseCode = 0,
                ResponseText = "Template updated"
            });
        }