コード例 #1
0
        public ActionResult DonorKayitPOST4(Uye uye)
        {
            Donor tempdonor = Session["donor"] as Donor;
            Uye   tempuye   = uye;

            _uyeService.Insert(tempuye);
            tempdonor.UyeID = uye.ID;
            _donorService.Insert(tempdonor);
            DonorOnay tempdonorOnay = Session["donoronay"] as DonorOnay;

            tempdonorOnay.DonorID = uye.ID;
            _donorOnayService.Insert(tempdonorOnay);
            return(RedirectToAction("Index", "Donor"));
        }