public async Task <IActionResult> PutProcedureStepModel(int id, ProcedureStepModel procedureStepModel)
        {
            if (id != procedureStepModel.StepId)
            {
                return(BadRequest());
            }

            _context.Entry(procedureStepModel).State = EntityState.Modified;

            try
            {
                await _context.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!ProcedureStepModelExists(id))
                {
                    return(NotFound());
                }
                else
                {
                    throw;
                }
            }

            return(NoContent());
        }
        public async Task <ActionResult <ProcedureStepModel> > PostProcedureStepModel(ProcedureStepModel procedureStepModel)
        {
            _context.ProcedureStepModel.Add(procedureStepModel);
            await _context.SaveChangesAsync();

            return(CreatedAtAction("GetProcedureStepModel", new { id = procedureStepModel.StepId }, procedureStepModel));
        }