public IActionResult Delete(int? Id) { if (Id == null) { return NotFound(); } else { var hd = nhaphangs.GetNhapHang(Id); return View(hd); } }
public IActionResult Delete(int?Id) { if (Id == null) { return(NotFound()); } else { ViewBag.Name = HttpContext.Session.GetString("Ten"); var hd = nhaphangs.GetNhapHang(Id); return(View(hd)); } }