public IActionResult Details(int id) { var proj = proje.GetById(id); ProjeDetay model = new ProjeDetay() { name = proj.name, description = proj.description, img1 = proj.img1, img2 = proj.img2, img3 = proj.img3 }; return(View(model)); }
public IActionResult EditProje(int id) { var model = proje.GetById(id); return(View(model)); }