protected void btnKaydet_Click(object sender, EventArgs e) { string custidd = Request.QueryString["custid"]; if (!String.IsNullOrEmpty(custidd)) { //yeni ekleme int custid = Int32.Parse(custidd); string aciklama = txtAciklama.Text; //string firma = KullaniciIslem.firma(); using (radiusEntities dc = MyContext.Context(KullaniciIslem.firma())) { ServisIslemleri s = new ServisIslemleri(dc); s.emanetUrunVerR(custid, aciklama, User.Identity.Name); string url = "/TeknikEmanet/Emanetler.aspx?custid=" + custid; yonlendir(url, dc, custid); } } }