public ActionResult SonAdim(Uye uye) { Hasta temphasta = Session["hasta"] as Hasta; Uye tempuye = uye; tempuye.Type = true; _uyeService.Insert(tempuye); temphasta.UyeID = uye.ID; _hastaService.Insert(ResimEkle.GetUploadPhoto(temphasta, _file)); Session["uye"] = null; Session["hasta"] = null; Session["donor"] = null; Session["donoronay"] = null; return(RedirectToAction("Index", "Hasta")); }