public async Task <IActionResult> Edit(string id, [Bind("Id,TradeName,ManufactureCompany,AdditionalInfo,TestCertificateIssuer,TestReportNumber,TestCertificateNumber,SupplierCommercialRegistry,SupplierName")] Trade trade)
        {
            if (id != trade.Id)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(trade);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!TradeExists(trade.Id))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(trade));
        }