public async Task <IActionResult> Edit(int id, [Bind("Id,SiparisKodu,SiparisTarihi,AlinmaTarihi,HedefGenTur,OligoNucleotideType,BesIsaretleme,NucleotideSequence,UcIsaretleme,NucleotideLength,Tm,GcPercent,SelfComp,Self3Comp,HedefBolgeUzunlugu,PrimerDimertur,KaynakTasarlananSistem")] OligoNucleotide oligoNucleotide)
        {
            if (id != oligoNucleotide.Id)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(oligoNucleotide);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!OligoNucleotideExists(oligoNucleotide.Id))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(oligoNucleotide));
        }
        public async Task <IActionResult> Create([Bind("Id,SiparisKodu,SiparisTarihi,AlinmaTarihi,HedefGenTur,OligoNucleotideType,BesIsaretleme,NucleotideSequence,UcIsaretleme,NucleotideLength,Tm,GcPercent,SelfComp,Self3Comp,HedefBolgeUzunlugu,PrimerDimertur,KaynakTasarlananSistem")] OligoNucleotide oligoNucleotide)
        {
            if (ModelState.IsValid)
            {
                _context.Add(oligoNucleotide);
                await _context.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            return(View(oligoNucleotide));
        }