public async Task <IActionResult> PutSupplierCommandLine(int id, SupplierCommandLine supplierCommandLine)
        {
            if (id != supplierCommandLine.Id)
            {
                return(BadRequest());
            }

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

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

            return(NoContent());
        }
        public async Task <ActionResult <SupplierCommandLine> > PostSupplierCommandLine(SupplierCommandLine supplierCommandLine)
        {
            _context.SupplierCommandLines.Add(supplierCommandLine);
            await _context.SaveChangesAsync();

            return(CreatedAtAction("GetSupplierCommandLine", new { id = supplierCommandLine.Id }, supplierCommandLine));
        }