protected void btnMailKaydet_Click(object sender, EventArgs e) { _mailController.AddEntity(new Mail { MailAdresi = txtMail.Text, MusteriID = _musteri.MusteriID }); Response.Redirect("~/MusteriDetay.aspx?MusteriID=" + _musteri.MusteriID); }
protected void btnMailKaydet_Click(object sender, EventArgs e) { _mailController.AddEntity(new Mail { MailAdresi = txtMail.Text, MusteriID = _musteri.MusteriID }); Response.Redirect("~/MusteriDetay.aspx?MusteriID=" + _musteri.MusteriID); }