常用方法
常用方法
常用方法
常用方法
/* Yazilimci Egitim Detay Detayi */ public IActionResult EgitimDetay(int Id) { int developerId = Convert.ToInt32(HttpContext.Session.GetString("SessionDeveloperId")); Education education = _educationService.GetEducationById(Id); if (education == null) { return RedirectToAction("Hata", "Uye"); } if (education.DeveloperId != developerId) { return RedirectToAction("Hata", "Uye"); } return View(education); }