public IActionResult writing(int?id) { datas da = new datas(); if (id == null) { return(NotFound()); } Venting ben = da.GetDiary(id); if (ben == null) { return(NotFound()); } return(View(ben)); }
public IActionResult Delete(int?id) { datas da = new datas(); if (id == null) { return(NotFound()); } Venting va = da.GetDiary(id); if (da == null) { return(NotFound()); } return(View(va)); }